Problem: I recently upgraded RVM, and now every time I cd into a directory with a
.rvmrc file that has
ruby_string="ruby-1.9.3", I get this warning:
ruby-1.9.3-p392 is not installed. To install do: 'rvm install ruby-1.9.3-p392'
Unfortunately, I’m too busy to install the newer patch level Ruby right now.
Solution: Create a RVM alias that points “ruby-1.9.3” to my current patch level, which happens to be p286 on my machine (type
rvm list to see a list of all RVM rubies installed on your system).
rvm alias create ruby-1.9.3 ruby-1.9.3-p286
Now, when I run
rvm alias list I see this line:
ruby-1.9.3 => ruby-1.9.3-p286
And when I cd into a directory with a
.rvmrc file that calls for
ruby-1.9.3, RVM uses