Doesn't look like a 2.2.2 app. Seems you might be at 2.3.2. As you  
have frozen Rails into vendor, you can back up and freeze a 2.2.2  
version in its place (assuming you don't depend on any of the cool 2.3  
features yet).

On Apr 22, 2009, at 5:54 PM, Adeel Ahmad wrote:

>
> 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.
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to