Joined March 2013
·

calebwright

Raleigh, NC, USA
·
·
·

Posted to Using Pow with RVM's .ruby-version over 1 year ago

Recent versions of RVM will split out @my-gemset from .ruby-version into .ruby-gemset. Here's a modified version to account for it -

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
Achievements
39 Karma
0 Total ProTip Views