Hi,
I’ve got a Rails 2.2.2 app and I’m trying to get BackgrounDRb running.
I’m just following the simple example in Advanced Rails Recipes.
I installed BackgrounDRb from Git,
installed the packet and chronic gems,
ran ‘rake backgroundrb:setup’,
generated a worker,
and then tried to run ‘script/backgroundrb start’
but I get:
/vendor/rails/actionpack/lib/action_controller/base.rb:1276: undefined
method deprecate' for ActionController::Base:Class (NoMethodError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require’
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' from /Users/macmini/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
require’
from
/Users/macmini/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
new_constants_in' from /Users/macmini/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
require’
from
/Users/macmini/Projects/Git/shopseen/vendor/rails/actionpack/lib/action_controller.rb:36
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require’
… 14 levels…
from
/Users/macmini/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
require' from /Users/macmini/Projects/Git/shopseen/vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_start_stop.rb:90:in
start_bdrb’
from
/Users/macmini/Projects/Git/shopseen/vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_start_stop.rb:16:in
`start’
from script/backgroundrb:23
Any suggestions? Also, how do I get the console to spit out the full
trace and not skip 14 levels?
Thanks.