Cron Job Errors help - Rails Runner errors?

You need to source the right environment via RVM before any Ruby code runs. So include something like this in the command: source /usr/local/rvm/environments/ruby-1.9.2-p180@my-gemset So a potential solution would be: SHELL=/bin/bash * * * * * source /{path_to_rvm_environment_for_ruby}@{gemset} && cd /Users/boris/projects/MyApp/ && rails runner "Resque. Enqueue(Place).

Lots of moving pieces here, here are a couple of pointers on things to check in your environment (ruby, rvm, bundle) - post your findings and will go from there. Path's issue with bundler, to change or not to change? Bundle bug I guess the commands runs fine outside of cron?

If you're running your cron job as a different user, check the environment of that user.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions