Opened 7 years ago

Closed 7 years ago

#34202 closed defect (fixed)

A bug in port1.0/group/ruby-1.0.tcl for installing ports rb19-* with rubygems

Reported by: hiroki@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 2.0.99
Keywords: ruby19 gems Cc: kimuraw (kimura wataru)
Port:

Description

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".

Change History (3)

comment:1 Changed 7 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… removed

comment:2 Changed 7 years ago by jmroot (Joshua Root)

Cc: kimuraw@… added; rshaw@… removed

comment:3 Changed 7 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: newclosed

fixed at r96656.

Thanks!

Note: See TracTickets for help on using tickets.