mattgibson / resque-scheduler-web

Tabs in the Resque Web gem for the Resque Scheduler plugin.
https://rubygems.org/gems/resque-scheduler-web
MIT License
25 stars 24 forks source link

Resque scheduler server not found #14

Open reejosamuel opened 7 years ago

reejosamuel commented 7 years ago

versions: rails (5.0.0.1) resque (1.26.0) resque-scheduler (4.3.0) resque-scheduler-web (1.1.0) resque-web (0.0.9)

Resque-Web shows the tab but clicked, it shows

LoadError at /schedule
cannot load such file -- rack/showexceptions

require 'resque/scheduler/server' this line inside

resque-scheduler-web (1.1.0) app/controllers/resque_web/plugins/resque_scheduler/schedules_controller.rb

is where it breaks

bingxie commented 7 years ago

This a very wired issue, you can try to add gem "sinatra", github: 'sinatra/sinatra' in your Gemfile.

It's a fix for me. But I don't understand why it still need sinatra?