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.
