How to use an earlier version of ruby ββ1.9.2
I am using rvm and when I installed ruby ββ1.9.2 it installed ruby-1.9.2-p290 and a few days ago I was unable to link to the older one but asked to install ruby-1.9. 2-P318.
Is it necessary to upgrade to a newer version or could we instruct rvm to use the gemset created with the older version.
+3
source to share
2 answers
As brandon said, you can also customize the default ruby ββversion with the -default flag. This will ensure that you are using the same version every time you start your terminal.
rvm use ruby-1.9.2-p290 --default
You can also customize the .rvmrc file in the directory you are working in to ensure that other developers are using the same ruby ββversion and patch level as you.
touch .rvmrc && echo "rvm use ruby-1.9.2-p290" >> .rvmrc
+6
source to share