Update powrc to maintain backward compatibility

This commit is contained in:
James Espinosa
2014-07-03 07:55:41 -05:00
parent ad784fd099
commit 6ea16fbe18
+3 -1
View File
@@ -1,7 +1,9 @@
if [ -f "${rvm_path}/scripts/rvm" ]; then
source "${rvm_path}/scripts/rvm"
if [ -f ".ruby-version" ] && [ -f ".ruby-gemset" ]; then
if [ -f ".rvmrc" ]; then
source ".rvmrc"
elif [ -f ".ruby-version" ] && [ -f ".ruby-gemset" ]; then
rvm use `cat .ruby-version`@`cat .ruby-gemset`
fi
fi