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 UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
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)