From: Luis Lavena Date: 2010-08-22T08:15:12+09:00 Subject: Re: RubyInstaller 1.9.2-p0 released - Newer DevKit and instructions On Aug 21, 5:17 pm, Michel Demazure wrote: > Luis Lavena wrote: > > Hello, > > > I'm very pleased to announce the release of RubyInstaller packages for > > Ruby 1.9.2-p0. > > Just for the record. In the file 'rubygems.rb' shipped with the > installer, line 500, the windows home drive is hard coded as 'C:/'. This > should not be. If your home drive is not C: (quite rare, but happens for > me), you should modify this line. > Indeed is wrong, as it assumes that the system drive is C:. Please open a ticket at RubyGems tracker: http://rubyforge.org/tracker/?atid=575&group_id=126&func=browse Anyhow, 1.9.x should not be having issues expanding "~", if it does, the lack of either HOME, HOMEDRIVE+HOMEPATH or USERPROFILE might be the issue. One of these variables is required and is assumed a 2000/XP/Vista/ 7/2003/2008 Windows user have defined. > Actually, rubygems.rb should refer to ENV["HOMEDRIVE"]. > As I mentioned over RubyInstaller list, File.expand_path("~") should not have issues at all as internally is doing the same thing. I would recommend not change these values and instead report the issues to both Ruby-Core and RubyGems trackers. -- Luis Lavena