Skip to content

Instantly share code, notes, and snippets.

@TheEricMiller
Forked from nbibler/gist:5307941
Last active December 16, 2015 06:39
Show Gist options
  • Select an option

  • Save TheEricMiller/5392720 to your computer and use it in GitHub Desktop.

Select an option

Save TheEricMiller/5392720 to your computer and use it in GitHub Desktop.
.powrc file to use .ruby-version
if [ -f "$rvm_path/scripts/rvm" ]; then
source "$rvm_path/scripts/rvm"
if [ -f ".rvmrc" ]; then
source ".rvmrc"
fi
if [ -f ".ruby-version" ]; then
rvm use `cat .ruby-version`
fi
if [ -f ".ruby-gemset" ]; then
rvm gemset use --create `cat .ruby-gemset`
fi
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment