Hi Oliver, thanks for your reply. I did upgrade rubygems on my system. But I added "require 'thread'" where required.
I tried to downgrade rubygems (to test if this was the problem), but no luck. I don't want to upgrade to 2.3.11 (too many deprecation warnings that I don't care about). The crazy thing is that if I deploy, then log on to the server and run: bundle exec whenever --update-crontab my_app, everything works fine... These compatibility problems between Rails and Rubygems are such a waste of time! Grrrr Cyrille On Jul 8, 9:45 am, Oliver Clarke <[email protected]> wrote: > Did you upgrade rubygems on your system? > > this stackoverflow thread seems helpful > > *http://stackoverflow.com/questions/5176782/uninitialized-constant-act... > * > * > *--- > Oliver Clarke > +1 650 862 5778http://clarketus.net > > > > > > > > On Fri, Jul 8, 2011 at 12:40 AM, Cyrille <[email protected]> wrote: > > Hi all, > > > I've upgraded an app to Rails 2.3.8. Everything is dandy, except that > > "whenever" fails to update the crontab on deploy (with Capistrano). > > > What is really baffling is that if I run the command manually on the > > server, everything works fine. > > > I've upgraded whenever to 0.6.8, but still no luck... > > > Suggestions welcome! > > > Here is the log from Capistrano: > > > * executing "cd /var/rails/my_app/releases/20110708073140 && bundle > > exec whenever --update-crontab my_app" > > servers: ["122.248.242.46"] > > [122.248.242.46] executing command > > ** [out :: 122.248.242.46] /var/rails/my_app/shared/bundle/ruby/1.8/ > > gems/activesupport-2.3.8/lib/active_support/dependencies.rb:55: > > uninitialized constant ActiveSupport::Dependencies::Mutex (NameError) > > ** [out :: 122.248.242.46] from /var/rails/my_app/shared/bundle/ruby/ > > 1.8/gems/activesupport-2.3.8/lib/active_support.rb:57:in `require' > > ** [out :: 122.248.242.46] from /var/rails/my_app/shared/bundle/ruby/ > > 1.8/gems/activesupport-2.3.8/lib/active_support.rb:57 > > ** [out :: 122.248.242.46] from /var/rails/my_app/shared/bundle/ruby/ > > 1.8/gems/activesupport-2.3.8/lib/active_support/all.rb:8:in `require' > > ** [out :: 122.248.242.46] from /var/rails/my_app/shared/bundle/ruby/ > > 1.8/gems/activesupport-2.3.8/lib/active_support/all.rb:8 > > ** [out :: 122.248.242.46] from /var/rails/my_app/shared/bundle/ruby/ > > 1.8/gems/whenever-0.6.8/lib/whenever.rb:2:in `require' > > ** [out :: 122.248.242.46] from /var/rails/my_app/shared/bundle/ruby/ > > 1.8/gems/whenever-0.6.8/lib/whenever.rb:2 > > ** [out :: 122.248.242.46] from /var/rails/my_app/shared/bundle/ruby/ > > 1.8/gems/whenever-0.6.8/bin/whenever:5:in `require' > > ** [out :: 122.248.242.46] from /var/rails/my_app/shared/bundle/ruby/ > > 1.8/gems/whenever-0.6.8/bin/whenever:5 > > ** [out :: 122.248.242.46] from /var/rails/my_app/shared/bundle/ruby/ > > 1.8/bin/whenever:19:in `load' > > ** [out :: 122.248.242.46] from /var/rails/my_app/shared/bundle/ruby/ > > 1.8/bin/whenever:19 > > > -- > > You received this message because you are subscribed to the Google Groups > > "WellRailed" 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/wellrailed?hl=en. -- You received this message because you are subscribed to the Google Groups "WellRailed" 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/wellrailed?hl=en.
