In order to use my system management scripts that I have made for my system, I need to run them under Ruby 1.8.7. However, a Rails book that I am reading requires me use 1.9.2. I have both installed and know how to manually switch between them using rvm, but I wish for my system management scripts to be run with 1.8.7 without having me switch manually. Any suggestions?
Thanks in advance.
Make 1.8.7 your default Ruby and add a
.rvmrcto your Rails project:https://rvm.io/workflow/rvmrc/