Created
September 4, 2016 07:26
-
-
Save arteezy/8a4ccc862725329ea39a3815ccc66ac5 to your computer and use it in GitHub Desktop.
Template for Whenever + rbenv config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set :rbenv, '"$HOME/.rbenv/shims":"$HOME/.rbenv/bin"' | |
job_type :rake, 'cd :path && PATH=:rbenv:"$PATH" :environment_variable=:environment bundle exec rake :task --silent :output' | |
job_type :runner, 'cd :path && PATH=:rbenv:"$PATH" bin/rails runner -e :environment ":task" :output' | |
set :output, 'log/whenever.log' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment