Best practice for installing multiple versions of Ruby besides rvm?

I have been running Ruby 1.8.7 and Ruby 1.9 for several weeks. I install Ruby 1.9 with the suffix 19, so that interpreter commands, rakes, gem, etc. Are "ruby19", "irb19", "rake19", "gem19" etc. 1,8,7 equivalents do not have a suffix and are thus the default values.

I find the easiest and most transparent way to manage two versions of Ruby. I can just change #! a string of my ruby ​​scripts to use one version or another.

I read about more favorable solutions that include changing on-the-fly symbolic links or a full-blown solution like rvm. But I prefer a simple and transparent approach. I'm just wondering if he has any serious flaws.

+4
source share
1 answer

rvm rocks! give it a chance. “full solution” does not mean complexity. It works great for switching ruby ​​versions.

+3
source

Source: https://habr.com/ru/post/1299988/


All Articles