Set Default Ruby Version Per Project
You can set the default ruby version you want to work on per project basis using rvm.
All you have do is to add .rvmrc file inside your project directory and add these lines to your file
rvm ruby-1.9.3
Save the file and quit.
Now get out of the project directory and then cd into it.
This time it asks for permission to use the newly created rvmrc file.
Accept it.
That's it.
Now your whole project will default to ruby version 1.9.3
Happy Hacking!!
Written by Rajeev N Bharshetty
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#