Bugs item #27366, was opened at 2009-10-28 09:24
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27366&group_id=126
Category: `gem` commands (other)
Group: v1.3.x
>Status: Closed
Resolution: None
Priority: 1
Submitted By: Roger Pack (rogerdpack)
Assigned to: Eric Hodel (drbrain)
Summary: gem env command doesn't display ~/.gem as a gem path
Initial Comment:
Currently gem treats ~/.gem as a gem path, however running gem env doesn't hint
at that fact.
r...@li49-39:~/dev/downloads/rubygems-1.3.5$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.5
- RUBY VERSION: 1.8.6 (2009-3-4 patchlevel 287) [i686-linux]
- INSTALLATION DIRECTORY: /home/rdp/dev/downloads/rubygems-1.3.5
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /home/rdp/dev/downloads/rubygems-1.3.5/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /home/rdp/dev/downloads/rubygems-1.3.5
- GEM CONFIGURATION:
...
Thanks!
-r
----------------------------------------------------------------------
Comment By: Ryan Davis (zenspider)
Date: 2010-11-12 14:46
Message:
This ticket has been deemed stale and we're closing it in order to catch up
with our ticket list. If you think it is still valid, please reopen.
----------------------------------------------------------------------
Comment By: Eric Hodel (drbrain)
Date: 2010-04-21 21:06
Message:
Mine shows ~/.gem as well. I cannot reproduce.
gem env gemdir is the same as GEM_HOME
----------------------------------------------------------------------
Comment By: Daniel Berger (djberg96)
Date: 2009-10-28 10:51
Message:
Hm, mine did on Snow Leopard:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.5
- RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.0.0]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-darwin-10
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.8
- /Users/dberger/.gem/ruby/1.8
...
Interestingly, when I run "gem env gempath" it only shows my .gem path, while
"gem env gemdir" only shows the /usr/local/lib path. Intentional? Not sure.
Not sure what to make of this yet.
Regards,
Dan
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27366&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers