You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ resque-web config/initializers/resque.rb
C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require': cannot load such file -- rack/showexceptions (LoadError)
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/sinatra-1.0/lib/sinatra/showexceptions.rb:1:in `<top (required)>'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/sinatra-1.0/lib/sinatra/base.rb:6:in `<top (required)>'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/resque-1.26.0/lib/resque/server.rb:1:in `<top (required)>'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/resque-1.26.0/bin/resque-web:10:in `<top (required)>'
from C:/RailsInstaller/Ruby2.2.0/bin/resque-web:23:in `load'
from C:/RailsInstaller/Ruby2.2.0/bin/resque-web:23:in `<main>'
@strong-code, Keep your settings but try gem 'rake', "~> 11.3.0". Tell me if that works.
I got mine to work on production, then it worked on development, so I'm not sure what I did. But I can tell you I don't need config/initializers/resque.rb or resque.yml. I believe this problem is just some gem incompatibility.
Update: removed sinatra, resque and resque-scheduler via gem uninstall <gemname>, then ran bundle install to bring them all back. Ran resque-web and received: Could not find 'sinatra' (>= 0.9.2) among 176 total gem(s) (Gem::LoadError).
Running via bundle exec resque-web got it working. I guess outside of bundler, my system didn't know where sinatra was installed because running gem list sinatra showed nothing installed, but running bundle show sinatra shows it (correctly) in the rbenv directory for my current ruby version.
tl;dr run bundle exec resque-web to pull in the sinatra master branch dep. Hope this helps others.
Yeah that could be what I did. I tried playing with resque-web but it didn't work on my machine so when I reverted back to resque in the Gemfile, not gem uninstall, I guess the dependencies stuck.
Logs:
#1436 I followed the set up here:
Though I'm using
gem 'resque', "~> 1.22.0"
because of some guideline on this heroku guide.I even set up a config file same as the docs.
config/initializers/resque.rb
And here in
resque.yml
Please assist.
The text was updated successfully, but these errors were encountered: