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.
source share