honey_badger icon indicating copy to clipboard operation
honey_badger copied to clipboard

Rake failing to load with honey_badger

Open kcm opened this issue 13 years ago • 2 comments

Getting this when I try to execute a resque worker via rake:

** Invoke resque:work (first_time)
** Invoke resque:preload (first_time)
** Invoke resque:setup (first_time)
** Execute resque:setup
** Execute resque:preload
rake aborted!
No such file to load -- honey_badger/application_controller

Commandline a la the resque-capistrano gem:

RAILS_ENV=staging QUEUE=\"*\" PIDFILE=./tmp/pids/resque_work_1.pid BACKGROUND=yes VERBOSE=1 INTERVAL=5 bundle exec rake --trace resque:work

kcm avatar Mar 16 '13 02:03 kcm

What version Rails / ruby? Does it work fine in a normal script/server?

rsanheim avatar Mar 17 '13 04:03 rsanheim

No problems in a full server, and in fact I worked around the problem with 'rake environment' to load the full thing.

ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin12.2.0]
rails (3.2.12)

kcm avatar Mar 18 '13 16:03 kcm