Skip to content

Instantly share code, notes, and snippets.

@mezgani
Created May 26, 2019 02:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mezgani/252ee7b1d5d288a10f7f010d77d8f68c to your computer and use it in GitHub Desktop.
Save mezgani/252ee7b1d5d288a10f7f010d77d8f68c to your computer and use it in GitHub Desktop.
Sinatra load
Boot Error
Something went wrong while loading config.ru
NameError: uninitialized constant ApplicationController
/home/mni/sinatra/app/controllers/system_parameters_controller.rb:1:in `<top (required)>'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
config.ru:1:in `block in inner_app'
/var/lib/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `instance_eval'
/var/lib/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `initialize'
config.ru:1:in `new'
config.ru:1:in `inner_app'
/var/lib/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/loader.rb:113:in `eval'
/var/lib/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/loader.rb:113:in `inner_app'
/var/lib/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/loader.rb:103:in `assemble_app'
/var/lib/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/loader.rb:86:in `proceed_as_child'
/var/lib/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/loader.rb:31:in `call!'
/var/lib/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/loader.rb:18:in `call'
/var/lib/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/favicon.rb:12:in `call'
/var/lib/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/static.rb:14:in `call'
/var/lib/gems/2.5.0/gems/rack-2.0.7/lib/rack/urlmap.rb:68:in `block in call'
/var/lib/gems/2.5.0/gems/rack-2.0.7/lib/rack/urlmap.rb:53:in `each'
/var/lib/gems/2.5.0/gems/rack-2.0.7/lib/rack/urlmap.rb:53:in `call'
/var/lib/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:153:in `call'
/var/lib/gems/2.5.0/gems/rack-2.0.7/lib/rack/handler/webrick.rb:86:in `service'
/usr/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
/usr/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
/usr/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment