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 web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
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)