Skip to content

Instantly share code, notes, and snippets.

@cbrunnkvist
Created April 26, 2011 13:06
Show Gist options
  • Save cbrunnkvist/942221 to your computer and use it in GitHub Desktop.
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
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