-
Notifications
You must be signed in to change notification settings - Fork 29
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
setting whenever RAILS_ENV #63
Comments
You should use the same pattern as the module. shell: >
{{ profile }}'bundle exec rake db:migrate' profile is used to load all the environment variables of the |
If i'm not mistaken, the environment needs to be included in the command line arguments to whenever, as well. See my pull request for explanation: |
No, the |
I realize it's piped through ansible in the |
Ok, I see your point... yes this is an issue. I add a comment to your pull request. |
If deploying to a staging environment, it is necessary to get the env variable into
whenever
so it can write the crontab properly.I'll submit a pull request that accomplishes this for me.
The text was updated successfully, but these errors were encountered: