Skip to content

Instantly share code, notes, and snippets.

@pikesley
Created October 2, 2013 08:53
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 pikesley/6790889 to your computer and use it in GitHub Desktop.
Save pikesley/6790889 to your computer and use it in GitHub Desktop.
Bork
==> /var/log/dashboards/dashing-1.log <==
/var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/gems/rufus-scheduler-3.0.0/lib/rufus/scheduler.rb:109:in `start_new': this is rufus-scheduler 3.0, use .new instead of .start_new (RuntimeError)
from /var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/bundler/gems/dashing-e5f439bbc062/lib/dashing.rb:9:in `<top (required)>'
from config.ru:1:in `require'
from config.ru:1:in `block in <main>'
from /var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from /var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from config.ru:1:in `new'
from config.ru:1:in `<main>'
from /var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:33:in `eval'
from /var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/rack/adapter/loader.rb:33:in `load'
from /var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
from /var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:71:in `start'
from /var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
from /var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
from /var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
from /var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/bin/thin:23:in `load'
from /var/www/dashboards.theodi.org/shared/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
@h00dy
Copy link

h00dy commented Oct 2, 2013

Change in dashing.rb line
SCHEDULER = Rufus::Scheduler.start_new
to
SCHEDULER = Rufus::Scheduler.new

@jags84
Copy link

jags84 commented Oct 4, 2013

I have the same problem starting resque:scheduler, where i have to change that?

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