Update powrc to maintain backward compatibility
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user