Last active
December 29, 2015 03:59
-
-
Save Vaduz/7611419 to your computer and use it in GitHub Desktop.
Using rbenv on crontab
This file contains hidden or 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
# ~/.bashrc | |
export PATH=$HOME/.rbenv/bin:$PATH | |
eval "$(rbenv init -)" | |
# crontab | |
. $HOME/.bashrc; /path/to/ruby_script.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment