lib/grape/app.rb in grape-app-0.3.11 vs lib/grape/app.rb in grape-app-0.3.12
- old
+ new
@@ -26,12 +26,12 @@
require_one 'config', 'environments', env
require_all 'config', 'initializers'
require 'grape/app/initializers/post'
# Load app
- $LOAD_PATH.push @root.join('lib')
- $LOAD_PATH.push @root.join('app')
- $LOAD_PATH.push @root.join('app', 'models')
+ $LOAD_PATH.push @root.join('lib').to_s
+ $LOAD_PATH.push @root.join('app').to_s
+ $LOAD_PATH.push @root.join('app', 'models').to_s
require_one 'app', 'models'
require_one 'app', 'api'
end