-
Notifications
You must be signed in to change notification settings - Fork 726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gemfile not found when running Cron job with Capistrano 3 and whenever gem #555
Comments
How do I setup BUNDLE_GEMFILE in my schedule.rb file? |
I have a similar issue since two weeks (started around May, 11th). And maybe a fix at the end of my comment. That's one line in my crontab:
And if I run it in a shell:
I get an error:
The Gemfile is there, the timestamp is my current release. So I tried to add
And it works (with the usual complaining from Bundler about bin stubs
And the fix is: customize your job_type, I added this line on top of my
I have no idea why it broke two weeks ago, but now it's working for me. |
Also have a look into that issue: I also followed this advice: |
👍 same problem, fixed it using the |
This should have been fixed by 9f37076 |
My cron job works fine on my local machine after running
whenever -w
, after deploy to my VPS, I get this error,release 20150415044915 doesn't exist
. any idea?I looked at my crontab -e, the path also looks fine where 20150502114703 is the correct release:
Error Log:
The text was updated successfully, but these errors were encountered: