Last Updated: February 25, 2016
·
8.55K
· dvilla

Create a .rvmrc project file

The project rvmrc files are used to setup a different project's ruby environment from when you switch to the project root directory

rvm use --create --rvmrc 1.9.3@nameoftheproject

Where 1.9.3 is the version of ruby I'am using, it could be jruby (jruby@nameoftheproject) or 1.9.1 (1.9.1@nameoftheproject) as well.

for this to take effect do create the file in the projecto root directory then do this

cd ..

then

cd -

and you'll see a message like this

= NOTICE
= RVM has encountered a new or modified .rvmrc file in the current...