Read more

Tell RVM which patch level you mean by "1.8.7" or "1.9.3"

Henning Koch
April 19, 2013Software engineer at makandra GmbH

When you download or upgrade RVM it has a hardcoded notion which patch level it considers to be "1.9.3".

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

This can give you errors like "ruby-1.9.3-p392 is not installed" even if you have another Ruby 1.9.3 that will do.

The solution is to define an alias:

rvm alias create 1.9.3 ruby-1.9.3-p385

Fuzzy matching

Another solution is to use rvm with the fuzzy flag, as stated by mpapis Show archive.org snapshot .

rvm use --fuzzy .

This will make rvm more intelligent in the Ruby selection. To always do fuzzy matching, run this:

echo rvm_fuzzy_flag=1 >> ~/.rvmrc
Posted by Henning Koch to makandra dev (2013-04-19 10:56)