[MacPorts] #34202: A bug in port1.0/group/ruby-1.0.tcl for installing ports rb19-* with rubygems

MacPorts noreply at macports.org
Tue Apr 24 20:50:59 PDT 2012


#34202: A bug in port1.0/group/ruby-1.0.tcl for installing ports rb19-* with
rubygems
-----------------------------------+----------------------------------------
 Reporter:  hiroki@…               |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  High                   |   Milestone:                                       
Component:  ports                  |     Version:  2.0.99                               
 Keywords:  ruby19 gems            |        Port:                                       
-----------------------------------+----------------------------------------
 Some rb19-ports are installed by rubygems, for example "rb19-arel".

 I found that they will not be installed under the directory
 "/opt/local/lib/ruby19/gems/1.9.1/{cache, doc, gem, specification}", but
 under the directory "/opt/local/lib/ruby19/gems/{cache, doc, gem,
 specification}",
 and they can not be used.

 This is probably because, "Config:CONFIG" in the line 42 of
 "port1.0/group/ruby-1.0.tcl" is obsolete in ruby 1.9, and
 "RbConfig:CONFIG" should be used instead.

 After I replaced "Config:CONFIG" to "RbConfig:CONFIG", the rb19-ports
 using rubygems are installed in the correct directory, and they can be
 used.

 Probably, this is a bug in "port1.0/group/ruby-1.0.tcl".

-- 
Ticket URL: <https://trac.macports.org/ticket/34202>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list