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...
Written by Daniel villa
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#