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)
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@…
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.
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:7 Changed 15 years ago by dreamcat4@…
Filed ticket #22406 in relation to the macports gem fetch method
Changed 15 years ago by adam@…
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.
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: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: | new → closed |
r63493. I fixed the default_variants so that it should work now if you try to use a non-default one.
Looks like the patch in the portfile only exists for rubygems less than or equal to 1.1.0. Needs to go as well.