New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebUI Rails 5 LoadError rack/showexceptions #2839

Closed
olegantonyan opened this Issue Feb 18, 2016 · 12 comments

Comments

9 participants
@olegantonyan

olegantonyan commented Feb 18, 2016

ruby 2.3.0, rails 5.0.0.beta2, sidekiq 4.1.0

# Gemfile
gem 'sinatra', require: false

# routes.rb
require 'sidekiq/web'
mount Sidekiq::Web => '/sidekiq'

With require 'sidekiq/web' in routes I get an error on server start:

/home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `require': cannot load such file -- rack/showexceptions (LoadError)
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `block in require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:in `load_dependency'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/sinatra-1.0/lib/sinatra/showexceptions.rb:1:in `<top (required)>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `block in require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:in `load_dependency'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/sinatra-1.0/lib/sinatra/base.rb:6:in `<top (required)>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `block in require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:in `load_dependency'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/sidekiq-4.1.0/lib/sidekiq/web.rb:3:in `<top (required)>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `block in require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:in `load_dependency'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `require'
from /home/oleg/projects/restome/config/routes.rb:18:in `block in <top (required)>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/actionpack-5.0.0.beta2/lib/action_dispatch/routing/route_set.rb:389:in `instance_exec'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/actionpack-5.0.0.beta2/lib/action_dispatch/routing/route_set.rb:389:in `eval_block'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/actionpack-5.0.0.beta2/lib/action_dispatch/routing/route_set.rb:371:in `draw'
from /home/oleg/projects/restome/config/routes.rb:1:in `<top (required)>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:296:in `load'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:296:in `block in load'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:in `load_dependency'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:296:in `load'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:40:in `each'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:40:in `load_paths'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:16:in `reload!'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:26:in `block in updater'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/file_update_checker.rb:75:in `execute'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:27:in `updater'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/initializable.rb:30:in `instance_exec'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/initializable.rb:30:in `run'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:347:in `each'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:347:in `call'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:226:in `tsort_each'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:205:in `tsort_each'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/initializable.rb:54:in `run_initializers'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application.rb:350:in `initialize!'
from /home/oleg/projects/restome/config/environment.rb:5:in `<top (required)>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `block in require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:in `load_dependency'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `require'
from /home/oleg/projects/restome/config.ru:3:in `block in <main>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:55:in `instance_eval'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:55:in `initialize'
from /home/oleg/projects/restome/config.ru:in `new'
from /home/oleg/projects/restome/config.ru:in `<main>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:49:in `eval'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:49:in `new_from_string'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:40:in `parse_file'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:318:in `build_app_and_options_from_config'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:218:in `app'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/server.rb:58:in `app'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:353:in `wrapped_app'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/server.rb:136:in `log_to_stdout'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/server.rb:76:in `start'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/commands_tasks.rb:90:in `block in server'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/commands_tasks.rb:85:in `tap'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/commands_tasks.rb:85:in `server'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/command.rb:20:in `run'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands.rb:19:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'

Sidekiq itself works (without require in routes)

@mperham

This comment has been minimized.

Owner

mperham commented Feb 18, 2016

Use Sinatra master.

On Feb 18, 2016, at 06:24, Oleg Antonyan notifications@github.com wrote:

ruby 2.3.0, rails 5.0.0.beta2, sidekiq 4.1.0

Gemfile

gem 'sinatra', require: false

routes.rb

require 'sidekiq/web'
mount Sidekiq::Web => '/sidekiq'
With require 'sidekiq/web' in routes I get an error on server start:

/home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in require': cannot load such file -- rack/showexceptions (LoadError) from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:inblock in require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:in load_dependency' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:inrequire'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/sinatra-1.0/lib/sinatra/showexceptions.rb:1:in <top (required)>' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:inrequire'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in block in require' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:inload_dependency'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in require' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/sinatra-1.0/lib/sinatra/base.rb:6:in<top (required)>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in require' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:inblock in require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:in load_dependency' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:inrequire'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/sidekiq-4.1.0/lib/sidekiq/web.rb:3:in <top (required)>' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:inrequire'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in block in require' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:inload_dependency'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in require' from /home/oleg/projects/restome/config/routes.rb:18:inblock in <top (required)>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/actionpack-5.0.0.beta2/lib/action_dispatch/routing/route_set.rb:389:in instance_exec' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/actionpack-5.0.0.beta2/lib/action_dispatch/routing/route_set.rb:389:ineval_block'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/actionpack-5.0.0.beta2/lib/action_dispatch/routing/route_set.rb:371:in draw' from /home/oleg/projects/restome/config/routes.rb:1:in<top (required)>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:296:in load' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:296:inblock in load'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:in load_dependency' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:296:inload'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:40:in block in load_paths' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:40:ineach'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:40:in load_paths' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:16:inreload!'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:26:in block in updater' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/file_update_checker.rb:75:inexecute'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:27:in updater' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/routes_reloader.rb:7:inexecute_if_updated'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application/finisher.rb:69:in block in <module:Finisher>' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/initializable.rb:30:ininstance_exec'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/initializable.rb:30:in run' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/initializable.rb:55:inblock in run_initializers'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:228:in block in tsort_each' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:350:inblock (2 levels) in each_strongly_connected_component'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:431:in each_strongly_connected_component_from' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:349:inblock in each_strongly_connected_component'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:347:in each' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:347:incall'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:347:in each_strongly_connected_component' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:226:intsort_each'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/2.3.0/tsort.rb:205:in tsort_each' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/initializable.rb:54:inrun_initializers'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/application.rb:350:in initialize!' from /home/oleg/projects/restome/config/environment.rb:5:in<top (required)>'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in require' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:inblock in require'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:in load_dependency' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:inrequire'
from /home/oleg/projects/restome/config.ru:3:in block in <main>' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:55:ininstance_eval'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:55:in initialize' from /home/oleg/projects/restome/config.ru:innew'
from /home/oleg/projects/restome/config.ru:in <main>' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:49:ineval'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:49:in new_from_string' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:40:inparse_file'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:318:in build_app_and_options_from_config' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:218:inapp'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/server.rb:58:in app' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:353:inwrapped_app'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/server.rb:136:in log_to_stdout' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/server.rb:76:instart'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/commands_tasks.rb:90:in block in server' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/commands_tasks.rb:85:intap'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/commands_tasks.rb:85:in server' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands/commands_tasks.rb:49:inrun_command!'
from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/command.rb:20:in run' from /home/oleg/.rbenv/versions/2.3.0/lib64/ruby/gems/2.3.0/gems/railties-5.0.0.beta2/lib/rails/commands.rb:19:in<top (required)>'
from bin/rails:4:in require' from bin/rails:4:in

'

Sidekiq itself works (without require in routes)


Reply to this email directly or view it on GitHub.

@olegantonyan

This comment has been minimized.

olegantonyan commented Feb 18, 2016

Thanks! It works

@yanperron

This comment has been minimized.

yanperron commented Mar 3, 2016

Hi @mperham,
could you tell me how to use sinatra master ?

Thanks a lot,

Yan

@seuros

This comment has been minimized.

Collaborator

seuros commented Mar 3, 2016

@yanperron in your Gemfile

gem 'sinatra', github: 'sinatra'
@vassyz

This comment has been minimized.

vassyz commented May 5, 2016

I'm getting the same error with Rails Beta 4.

.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta4/lib/active_support/dependencies.rb:293:in `require': cannot load such file -- rack/showexceptions (LoadError)
@waghanza

This comment has been minimized.

waghanza commented May 10, 2016

@vassyz 'till have the error ?

@vassyz

This comment has been minimized.

vassyz commented May 10, 2016

Yes, same thing as OP. If I remove Sidekiq from routes it works fine.

Ruby 2.2.3
Rails 5.0.0.rc1
Sidekiq 4.1.2

/Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `require': cannot load such file -- rack/showexceptions (LoadError)
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `block in require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:259:in `load_dependency'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/sinatra-1.0/lib/sinatra/showexceptions.rb:1:in `<top (required)>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `block in require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:259:in `load_dependency'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/sinatra-1.0/lib/sinatra/base.rb:6:in `<top (required)>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `block in require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:259:in `load_dependency'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/web.rb:4:in `<top (required)>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `block in require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:259:in `load_dependency'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `require'
from /Users/vasi/Sites/Obelisk/hq/config/routes.rb:1:in `<top (required)>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:287:in `load'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:287:in `block in load'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:259:in `load_dependency'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:287:in `load'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:40:in `each'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:40:in `load_paths'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:16:in `reload!'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:26:in `block in updater'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/file_update_checker.rb:77:in `call'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/file_update_checker.rb:77:in `execute'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:27:in `updater'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/finisher.rb:116:in `block in <module:Finisher>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/initializable.rb:30:in `run'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `call'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application.rb:352:in `initialize!'
from /Users/vasi/Sites/Obelisk/hq/config/environment.rb:5:in `<top (required)>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `block in require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:259:in `load_dependency'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in `require'
from /Users/vasi/Sites/Obelisk/hq/config.ru:3:in `block in <main>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/builder.rb:55:in `instance_eval'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/builder.rb:55:in `initialize'
from /Users/vasi/Sites/Obelisk/hq/config.ru:in `new'
from /Users/vasi/Sites/Obelisk/hq/config.ru:in `<main>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/builder.rb:49:in `eval'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/builder.rb:49:in `new_from_string'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/builder.rb:40:in `parse_file'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/server.rb:318:in `build_app_and_options_from_config'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/server.rb:218:in `app'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/server.rb:59:in `app'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/server.rb:353:in `wrapped_app'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/server.rb:124:in `log_to_stdout'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/server.rb:77:in `start'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/commands_tasks.rb:90:in `block in server'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/commands_tasks.rb:85:in `tap'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/commands_tasks.rb:85:in `server'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands.rb:18:in `<top (required)>'
from /Users/vasi/Sites/Obelisk/hq/bin/rails:9:in `require'
from /Users/vasi/Sites/Obelisk/hq/bin/rails:9:in `<top (required)>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client/rails.rb:28:in `load'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client/rails.rb:28:in `call'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client/command.rb:7:in `call'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client.rb:30:in `run'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/bin/spring:49:in `<top (required)>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/binstub.rb:11:in `load'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/binstub.rb:11:in `<top (required)>'
from /Users/vasi/Sites/Obelisk/hq/bin/spring:13:in `require'
from /Users/vasi/Sites/Obelisk/hq/bin/spring:13:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'
@mperham

This comment has been minimized.

Owner

mperham commented May 10, 2016

You need Sinatra master.

On May 10, 2016, at 15:42, Vasile Zaremba notifications@github.com wrote:

Yes, same thing as OP. If I remove Sidekiq from routes it works fine.

Ruby 2.2.3
Rails 5.0.0.rc1
Sidekiq 4.1.2

/Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in require': cannot load such file -- rack/showexceptions (LoadError) from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:inblock in require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:259:in load_dependency' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:inrequire'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/sinatra-1.0/lib/sinatra/showexceptions.rb:1:in <top (required)>' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:inrequire'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in block in require' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:259:inload_dependency'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in require' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/sinatra-1.0/lib/sinatra/base.rb:6:in<top (required)>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in require' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:inblock in require'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:259:in load_dependency' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:inrequire'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/web.rb:4:in <top (required)>' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:inrequire'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in block in require' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:259:inload_dependency'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in require' from /Users/vasi/Sites/Obelisk/hq/config/routes.rb:1:in<top (required)>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:287:in load' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:287:inblock in load'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:259:in load_dependency' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:287:inload'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:40:in block in load_paths' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:40:ineach'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:40:in load_paths' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:16:inreload!'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:26:in block in updater' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/file_update_checker.rb:77:incall'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/file_update_checker.rb:77:in execute' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:27:inupdater'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/routes_reloader.rb:7:in execute_if_updated' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application/finisher.rb:116:inblock in module:Finisher'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/initializable.rb:30:in instance_exec' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/initializable.rb:30:inrun'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/initializable.rb:55:in block in run_initializers' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:226:inblock in tsort_each'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:348:in block (2 levels) in each_strongly_connected_component' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:429:ineach_strongly_connected_component_from'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:347:in block in each_strongly_connected_component' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:ineach'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in call' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:ineach_strongly_connected_component'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:224:in tsort_each' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:203:intsort_each'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/initializable.rb:54:in run_initializers' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/application.rb:352:ininitialize!'
from /Users/vasi/Sites/Obelisk/hq/config/environment.rb:5:in <top (required)>' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:inrequire'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in block in require' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:259:inload_dependency'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.rc1/lib/active_support/dependencies.rb:293:in require' from /Users/vasi/Sites/Obelisk/hq/config.ru:3:inblock in

'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/builder.rb:55:in instance_eval' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/builder.rb:55:ininitialize'
from /Users/vasi/Sites/Obelisk/hq/config.ru:in new' from /Users/vasi/Sites/Obelisk/hq/config.ru:in'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/builder.rb:49:in eval' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/builder.rb:49:innew_from_string'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/builder.rb:40:in parse_file' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/server.rb:318:inbuild_app_and_options_from_config'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/server.rb:218:in app' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/server.rb:59:inapp'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.rc1/lib/rack/server.rb:353:in wrapped_app' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/server.rb:124:inlog_to_stdout'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/server.rb:77:in start' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/commands_tasks.rb:90:inblock in server'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/commands_tasks.rb:85:in tap' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/commands_tasks.rb:85:inserver'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands/commands_tasks.rb:49:in run_command!' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-5.0.0.rc1/lib/rails/commands.rb:18:in<top (required)>'
from /Users/vasi/Sites/Obelisk/hq/bin/rails:9:in require' from /Users/vasi/Sites/Obelisk/hq/bin/rails:9:in<top (required)>'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client/rails.rb:28:in load' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client/rails.rb:28:incall'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client/command.rb:7:in call' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/client.rb:30:inrun'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/bin/spring:49:in <top (required)>' from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/binstub.rb:11:inload'
from /Users/vasi/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.7.1/lib/spring/binstub.rb:11:in <top (required)>' from /Users/vasi/Sites/Obelisk/hq/bin/spring:13:inrequire'
from /Users/vasi/Sites/Obelisk/hq/bin/spring:13:in <top (required)>' from bin/rails:3:inload'
from bin/rails:3:in `'

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@vassyz

This comment has been minimized.

vassyz commented May 11, 2016

Sorry, my bad. I replied in a hurry.
I can confirm that the Sinatra master branch fixes it.

@sekrett

This comment has been minimized.

sekrett commented Jul 29, 2016

I was getting this:

Bundler could not find compatible versions for gem "rack-protection":
  In Gemfile:
    sinatra was resolved to 2.0.0.pre.alpha, which depends on
      rack-protection (~> 2.0)

Could not find gem 'rack-protection (~> 2.0)', which is required by gem 'sinatra', in any of the sources.

Have to add this to make it work:

gem 'rack-protection', '~> 2.0', github: 'sinatra/rack-protection', require: false
gem 'sinatra', github: 'sinatra/sinatra', require: false
@badosu

This comment has been minimized.

Collaborator

badosu commented Jul 29, 2016

@sekrett Rack-Protection 2.0.0 is only available using the master branch for now.

gem 'rack-protection', github: 'sinatra/rack-protection'

@dbackeus

This comment has been minimized.

dbackeus commented Aug 25, 2016

Beta versions are out now so can start using those instead:
gem "sinatra", ">= 2.0.0.beta2", require: false # https://github.com/mperham/sidekiq/issues/2839

The rack-protection 2.0.0.beta2 seems to get pulled in automatically so no need for the extra declaration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment