4 ms·
anyone have instructions on how to upgrade ruby to 1.8.7 on mac, or 1.9 , preferably the option to switch between both ?
by minalecs 17y ago
anyone have instructions on how to upgrade ruby to 1.8.7 on mac, or 1.9 , preferably the option to switch between both ?
- KB 17y agoThe easiest solution(possibly a cop out) for 1.8.7... Upgrade to Snow Leopard.
- compay 17y agoUse RVM: http://rvm.beginrescueend.com/ http://rvm.beginrescueend.com/
- mrduncan 17y agoI can't recommend RVM highly enough. Not only will it let you easily switch between MRI (the standard ruby interpreter) versions. It'll also let you switch just as easily between other interpreters such as JRuby, Rubinius, Ruby Enterprise Edition, etc.
- Jim_Neath 17y ago+1 for RVM. Stupidly easy to use.
- jergason 17y agoHivelogic has good overall instructions on installing your own version of ruby in /usr/local here: http://hivelogic.com/articles/ruby-rails-leopard http://hivelogic.com/articles/ruby-rails-leopard The steps are the same for installing 1.8.7 or 1.9, you just change the version of Ruby that you download.
- donw 17y agoOther people have mentioned RVM, so I don't need to, but you may also want to check out JRuby (http://jruby.org http://jruby.org). Your startup time will suffer, but your runtime will be quite a bit faster. :)