CR
Size: a a a
CR
AG
CR
CR
/bin/bash: bundle: command not found
CR
CR
/bin/bash -l -c 'rails runner -e development "Shedule.shcedule_log"
CR
CR
CR
CR
/usr/bin/env: ‘ruby’: No such file or directory
/bin/bash: bundle: command not found
CR
CR
set :output, standard: 'log/whenever.log', error: 'log/whenever.error.log'
set :bundle_command, %x{which bundle}[0..-2]
every 1.minute do
path = File.expand_path(File.dirname(__FILE__) + '/')
str = 'cd %s && cd .. && bundle exec bin/rails runner -e %s "Shedule.shcedule_log"' % [path, @environment]
command str
end
CR
CR
@environment
CR
SS
CR
CR
SS