[Rubygems-developers] Updates to RubyGems
Grant Hollingworth
grant at antiflux.org
Thu Sep 28 14:13:08 EDT 2006
* Jim Weirich <jim at weirichhouse.org> [2006-09-18 15:50]:
> I know there are several patches I
> haven't gotten around to yet, but if there are other hot issues for
> RubyGems that should be addressed, give a hollar now.
Could you throw in my contents patch? 'gem contents' doesn't work at
all for me without it.
$ gem environment
Rubygems Environment:
- VERSION: 0.9.0.6 (0.9.0.6)
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
- GEM PATH:
- /usr/local/lib/ruby/gems/1.8
- REMOTE SOURCES:
- http://gems.rubyforge.org
$ gem contents -v rake
Unable to find gem 'rake' in default gem paths
Directories searched:
/usr/local/lib/ruby/gems/1.8
-------------- next part --------------
--- gem_commands.rb.orig 2006-06-30 13:17:01.000000000 -0600
+++ gem_commands.rb 2006-06-30 13:18:11.000000000 -0600
@@ -1329,6 +1329,7 @@
if s.empty?
path_kind = "default gem paths"
system = true
+ s = Gem.path.map {|dir| File.join(dir, "specifications") }
else
path_kind = "specified path"
system = false
More information about the Rubygems-developers
mailing list