part of the family
beyond corporate purpose

Working with multiple ruby versions

06 Aug 2009

For a while, I’ve felt an itch to experiment with Ruby 1.9. It would be better to use it in our day-to-day work, but Ruby 1.9 isn’t that far yet. What has hold me back until now, is that I don’t want to make an unstable Windows machine out of my Maccie. It’s my primary workstation, and I have to work on it constantly.

Via Dr Nic I found Working With Multiple Ruby Versions Has Never Been This Easy.

With the help of the RubySwitcher script, it is laughingly easy to use several Ruby versions next to one another. There’s no more excuse not to do it.

Out of the box, you can install and use the following versions of Ruby:

  • install_ruby_191 (install)
    use_ruby_191 (use)
  • install_ruby_186 (install)
    use_ruby_186 (use)
  • install_ruby_187 (install)
    use_ruby_187 (use)
  • install_jruby (install)
    use_jruby (use)
  • install_jruby_120 (install)
    use_jruby_120 (use)
  • install_ree_186 (install)
    use use_ree_186 (use)

To use the standard Ruby version: use_leopard_ruby

blog comments powered by Disqus