You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running this task in crontab error.log i will get following error:
/usr/local/rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path': can't find executable rake for rake-0.8.7 (Gem::Exception)
from /usr/local/rvm/gems/ruby-1.9.2-p0/bin/rake:19:in `<main>'
I have manually fixed issue.
Here is the corrected cron output that works:
#Begin Whenever generated tasks for: /home/administrator/www/keekme/config/schedule.rb
PATH=/usr/local/rvm/gems/ruby-1.9.2-p0/bin:/bin:/usr/local/rvm/rubies/ruby-1.9.2-p0/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
Whenever generates wrong cron output for RVM.
I've got following code in scheduling.rb
produces:
After running this task in crontab error.log i will get following error:
I have manually fixed issue.
Here is the corrected cron output that works:
#Begin Whenever generated tasks for: /home/administrator/www/keekme/config/schedule.rb
PATH=/usr/local/rvm/gems/ruby-1.9.2-p0/bin:/bin:/usr/local/rvm/rubies/ruby-1.9.2-p0/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
I'm using RVM system wide install and ruby 1.9.2.
The text was updated successfully, but these errors were encountered: