Hi All, I am using the paypal gem and it is working fine on my os x dev box. But when I deploy to linux rails dies while starting up. I''ve used this code in environment.rb: require ''paypal'' Simple enough and works fine for all the other gems I''m using. But on linux I get the following error: ** Starting Mongrel listening at 127.0.0.1:8005 2282 ** Starting Rails with production environment ... 2283 /path/to/current/config/../vendor/rails/activerecord/lib/active_record/deprecated_finders.rb:13: undefined method `deprecate'' for #<Class :ActiveRecord::Base> (NoMethodError) 2284 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' 2285 from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' 2286 from /path/to/current/config/../vendor/rails/activerecord/lib/active_record/base.rb:4 2287 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' 2288 from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' 2289 from /path/to//current/config/../vendor/rails/activerecord/lib/active_record.rb:37 2290 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' 2291 from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' 2292 ... 11 levels... 2293 from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:83:in `run'' 2294 from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/command.rb:199:in `run'' 2295 from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:235 2296 from /usr/bin/mongrel_rails:18 Any ideas on the correct way to load this gem? I also tried require_gem and that didn''t work either. BTW, I''m on edge rails for both machines. Thanks, Sean --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---