Hello List,

I'm dealing with something related to how GEM_HOME and GEM_PATH is
processed on Windows.

Take as base $HOME being set on D:/Users/Luis (except for the drive
letter, sounds like *nix).

set GEM_HOME to %HOME%\.gems, which ends into
D:\\Users\\Luis\\.gems

set GEM_PATH to %GEM_HOME%;C:/Ruby/lib/ruby/gems/1.8

Now, Gem::path reply return this array:

["D:\\Users\\Luis\\.gems", "C:/Ruby/lib/ruby/gems/1.8"]

And gem install is capable to install into GEM_HOME.

Now, 'gem list' do not find the installed gem, unless I change
GEM_HOME definition to use File::SEPARATOR instead of
File::ALT_SEPARATOR...

I know the issue is in Gem::set_home and Gem::set_paths
(lib/rubygems.rb:511 and 517)

1am here, worked all weekend on getting i386-mingw32 Ruby build
working so been a bit exhausted... any hint?

FYI, reduced the failures and errors for rubygems trunk, and no more
segfaults! :-D
(for those who care) ;-)

Regards,
-- 
Luis Lavena
Multimedia systems
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to