Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Following the advice found in many places, I tried to install Ruby 1.9 without a suffix using this command:

sudo port install ruby19 +nosuffix

This still leaves the suffix "1.9" on the binary; typing which ruby yields /usr/bin/ruby (the system installation); in Macports' /opt/local/bin, there is only the file ruby1.9 to be found.

This is on a system with a fresh installation of Macports. No error messages or warnings during the execution of the above command.

share|improve this question
up vote 1 down vote accepted

I recently noticed the same thing. It seems that the ruby19 port no longer supports the +nosuffix variant, and the port tool seems to silently ignore it if you try to use it. The MacPorts ruby19 package information page seems to confirm this.


After posting, I took a second look at the portfile description and there may be a new syntax at work:

sudo port select ruby ruby19

This seems to have created all of the necessary symlinks.

share|improve this answer
Unsurprisingly, the MacPorts guide makes absolutely no mention of the select command, but port help select does provide some shallow reference. – beporter Apr 9 '13 at 23:55
The sudo port select ruby ruby19 did the trick! – waldrumpus Apr 10 '13 at 18:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.