Thursday, October 10, 2013

How to install Ruby 2.0 using Port on Mac (Macports)

Step 1: Install Macports

Firstly, let's install the Macport

Step 2: Install Ruby 2.0

port selfupdate -v
port list | grep ruby
sudo port install ruby20

Step 3: Make symbolic link

sudo port select --set ruby ruby20
or
cd /opt/local/bin
sudo ln -s ruby20 ruby

No comments:

Post a Comment