Created
April 26, 2011 13:06
-
-
Save cbrunnkvist/942221 to your computer and use it in GitHub Desktop.
Make RVM work when installed outside (=not in) $HOME even if called from cron
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
export rvm_path=/psg/ruby/rvm | |
export rvm_scripts_path=$rvm_path/scripts | |
[[ -s "$rvm_scripts_path/rvm" ]] && . "$rvm_scripts_path/rvm" # using rvm 1.6.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment