/BIN/BASH: BUNDLE: COMMAND NOT FOUND
When we get error on the server :-
Rails Cron Whenever gem error, bundle: command not found/bin/bash: bundle: command not found
config/scheduler.rb
env :PATH, ENV['PATH']set :bundle_command, "/usr/local/bin/bundle exec"
set :environment, "production"
set :output, {:error => "log/cron_error_log.log", :standard => "log/cron_log.log"}
every 2.minute do
runner "Delayed::Job.enqueue( UpdateNetwinstProductJob.new)"
end
https://stackoverflow.com/

Comments