Opened 15 years ago

Closed 15 years ago

#22304 closed update (fixed)

rb-rubygems upgrade

Reported by: dunolie (Robbie "dunolie") Owned by: mr_bond@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: dreamcat4@…, babie.tanaka@…, macports@…, kimuraw (kimura wataru), jon@…, jbr@…
Port: rb-rubygems

Description (last modified by mf2k (Frank Schima))

http://www.gemcutter.org, where a lot of the new gems are being hosted needs rubygems 1.3.5

port list rb-rubygems
rb-rubygems                    @1.3.4          ruby/rb-rubygems

sudo gem install gemcutter
ERROR:  Error installing gemcutter:
        gemcutter requires RubyGems version >= 1.3.5

running MacPorts 1.8.0
osx ppc leopard

Attachments (2)

Portfile (1.1 KB) - added by adam@… 15 years ago.
Portfile-with-variants (1.5 KB) - added by dark.panda+macports@… 15 years ago.
Portfile with variants for ruby186 and ruby19

Download all attachments as: .zip

Change History (19)

comment:1 Changed 15 years ago by blb@…

Owner: changed from macports-tickets@… to mr_bond@…
Port: rb-rubygems added

comment:2 Changed 15 years ago by joseph@…

Looks like the patch in the portfile only exists for rubygems less than or equal to 1.1.0. Needs to go as well.

comment:3 Changed 15 years ago by dreamcat4@…

And what about the "rubyforge_gem" fetch method? gemcutter.org must be added to top of the gem sources list, above rubyforge. Many gems that were previously on rubyforge are now migrating over to gemcutter.

  • rubyforge_gem fetch method for the Ruby PortGroup & livecheck support (pguyot in r20544 & r20834, respectively).

comment:4 Changed 15 years ago by dreamcat4@…

Cc: dreamcat4@… added

Cc Me!

comment:5 Changed 15 years ago by dreamcat4@…

Oh right - we don't use gem install directly from remote. Its downloaded first locally to compare the checksums. Still, we need a revised fetch method to include gemcutter aswell as rubyforge. So still to a search priority list of gem sources to it download from.

comment:6 Changed 15 years ago by babie.tanaka@…

Cc: babie.tanaka@… added

Cc Me!

comment:7 Changed 15 years ago by dreamcat4@…

Filed ticket #22406 in relation to the macports gem fetch method

comment:8 Changed 15 years ago by macports@…

Cc: macports@… added

Cc Me!

Changed 15 years ago by adam@…

Attachment: Portfile added

comment:9 Changed 15 years ago by adam@…

Added updated Portfile for rubygems 1.3.5. It doesn't remove the patch that's applied, but works. It's a start.

comment:10 Changed 15 years ago by kimuraw (kimura wataru)

Cc: kimuraw@… added

Cc Me!

comment:11 Changed 15 years ago by jon@…

Cc: jon@… added

Cc Me!

Changed 15 years ago by dark.panda+macports@…

Attachment: Portfile-with-variants added

Portfile with variants for ruby186 and ruby19

comment:12 Changed 15 years ago by dark.panda+macports@…

Perhaps this should go into a new ticket, but it involves a rb-rubygems upgrade I suppose...

I've attached another version of the Portfile that includes variants for ruby186 and ruby19. It bugs me that you can't directly install much Ruby software for specific versions of the Ruby port...

comment:13 Changed 15 years ago by jbr@…

Cc: jbr@… added

Cc Me!

comment:14 Changed 15 years ago by jingoro@…

The Portfile-with-variants attachment worked for me.

Running MacPorts 1.8.2 and OS X 10.6.2.

comment:15 Changed 15 years ago by mina.macports@…

Can this be pushed into MacPorts ?

A very strong migration towards GemCutter has happened in the ruby community, and it requires rubygems 1.3.5.

Without this making it into macports, it's becoming much harder every day to install needed gems (even very high profile stuff such as rails 3 beta)

Thank you

comment:16 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:17 Changed 15 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

r63493. I fixed the default_variants so that it should work now if you try to use a non-default one.

Note: See TracTickets for help on using tickets.