Opened 9 years ago

Closed 9 years ago

#48560 closed defect (invalid)

Cannot select MacPorts Ruby

Reported by: theboergers@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: ruby

Description (last modified by mf2k (Frank Schima))

I am unable to select a version of Ruby installed by MacPorts.

 [~] chris at CWB-MacBook $ sudo port select ruby                                                                                                                                   
Password:
Available versions for ruby:
	none (active)
	ruby20
	ruby22

[~] chris at CWB-MacBook $ sudo port select ruby22                                                                                                                                 
Warning: Unable to get active selected version: The specified group 'ruby22' does not exist.
Error: The 'list' command failed: The specified group 'ruby22' does not exist.

Using OS X 10.11 Public Beta.

Change History (3)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to kimuraw@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers ruby), if any.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

The correct command is:

sudo port select ruby ruby22

or:

sudo port select --set ruby ruby22

For more information, run:

port help select
Note: See TracTickets for help on using tickets.