Hesham
Hesham

Reputation: 595

Is Ruby 1.9.3 supported on Mac OS? Or should I stick to 1.8.7?

Is Ruby 1.9.3 supported on Mac OS? Or should I stick to 1.8.7? I am new to OS X and am setting up my Ruby development environment.

Upvotes: 1

Views: 136

Answers (3)

Andrew Marshall
Andrew Marshall

Reputation: 96914

Yes.

You can install it from source or with Homebrew, or use rbenv or RVM to manage multiple Ruby versions.

Upvotes: 2

Kevin Bedell
Kevin Bedell

Reputation: 13404

I upvoted as well. This is a good question.

I run Ruby 1.9.3 for almost all my development work. I'd highly recommend using it.

Ruby 1.8.7 is older, slower and is running out of time for support.

I'd also recommend doing all installation of Ruby on your machine using RVM (The Ruby Version Manager). Here's the link to install it:

https://rvm.io//rvm/install/

Once you have RVM installed (the steps on its web page are good), then type the following to install Ruby 1.9.3:

rvm install ruby-1.9.3-p125

This will bring the latest version of Ruby 1.9.3 down and install it on your machine for you.

Upvotes: 1

Andrew Grimm
Andrew Grimm

Reputation: 81450

Technically speaking, no. So I'm +1ing your question which currently has two downvotes.

According to the Ruby's wiki page on Supported Platforms, OS X is not "Supported", but is merely "Best Effort" for both Ruby 1.9.3, and Ruby 1.9.1. Ruby 1.9.3 has no "Supported" platforms, and Ruby 1.9.1 only has Debian GNU/Linux 4.0 on IA32 supported.

However, Ruby 1.8.7 will soon reach its end of life as far as the MRI Ruby team is concerned, and I wouldn't count on Apple doing much maintenance of Ruby 1.8.7. So use 1.9.3 anyway.

Upvotes: 2

Related Questions