Skip to content

Instantly share code, notes, and snippets.

@soulcutter
Created June 7, 2013 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soulcutter/5731524 to your computer and use it in GitHub Desktop.
Save soulcutter/5731524 to your computer and use it in GitHub Desktop.
Example powrc with rvm and ruby-gemset / ruby-version
if [ -f "$rvm_path/scripts/rvm" ] && [ -f ".ruby-version" ] && [ -f ".ruby-gemset" ] ; then
source "$rvm_path/scripts/rvm"
rvm use `cat .ruby-version`@`cat .ruby-gemset`
fi
if [ -f "~/.oh-my-zsh/custom/openssl.zsh" ] ; then
source "~/.oh-my-zsh/custom/openssl.zsh"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment