Setting the Default Version with Port ruby19

Ryan Schmidt ryandesign at
Fri Feb 4 14:32:21 PST 2011

On Feb 4, 2011, at 16:21, Donald W. Larson wrote:

> This morning I installed port ruby19 and although it installed without issue, my problem is when I type ruby -v in Terminal, the response is ruby 1.8.7, not ruby 1.9.2.

Type "ruby19" to get ruby version 1.9.x.

> What command do I use to make ruby 1.9.2 the default version?

I don't think we have a ruby-select port, so I don't think we have the ability to make "ruby" be ruby 1.9.x. You could create a symlink, or a shell alias, if you desire.

More information about the macports-users mailing list