Skip to content

Instantly share code, notes, and snippets.

@j-manu

j-manu/dot.powrc.sh

Forked from flarik/dot.powrc.sh
Created Jul 1, 2014
Embed
What would you like to do?
if [ -f "${rvm_path}/scripts/rvm" ]; then
source "${rvm_path}/scripts/rvm"
if [ -f ".rvmrc" ]; then
source ".rvmrc"
elif [ -f ".ruby-version" ] && [ -f ".ruby-gemset" ]; then
rvm use `cat .ruby-version`@`cat .ruby-gemset`
elif [ -f ".ruby-version" ]; then
rvm use `cat .ruby-version`
fi
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment