How to upgrade to Ruby 1.8.7

I'm new to Ruby, so bear with me. I tried to upgrade my Ruby to 1.8.7 and just ran into many problems on my Mac OS X (10.5.7).

So how do you upgrade Ruby 1.8.7?

Thanks.

+5
source share
4 answers

The simplest answer is no. Ruby 1.8.7 was an attempt to create an interim release between 1.8 and 1.9, and the consensus of the community was that it was not necessary, so support was a bit of support before version 1.9 was completed. The general recommendation is to either stick to 1.8 (the version ships with OS X 10.5) or use Ruby 1.9.

MacPorts Ruby 1.8.7 Ruby 1.9, , , Ruby - X.

UPDATE: ajhit406, RVM , MacPorts.

+9

necromancing...

http://rvm.io/

(mpapis): Ruby 1.8.7 Ruby .

+3

Ruby, . ruby_1.8.7 , . .

sudo cp -r ruby_1.8.7 /System/Library/Frameworks/Ruby.framework/Versions/1.8.7
cd /System/Library/Frameworks/Ruby.framework/Versions
sudo ln -sfh 1.8.7 Current
+1

All Articles