=begin
While working on the Ruby 1.9 ebuilds for Gentoo Prefix on Mac, I came across the following oddity.
With 1.9.1-pre2 the installation to a DESTDIR is not working as expected. While all files are installed correctly below the DESTDIR, one empty directory is created below the filesystem root:
/usr/lib/ruby/site_ruby/1.9.1/i686-darwin9/
Although not dramatic, this renegade directory triggers a QA error by the Gentoo installer which causes the installation to fail altogether.
I've tried to track down the offending line of code (most likely in instruby.rb), but couldn't find it.
=end
Checking the changes introduced in lib/rubygems.rb (Gem.find_home and others), you removed the code that lookup for user profile using ENV and rely on expansion of "~"
I believe those changes are only valid for 1.9, correct?
I'll like to point that those couldn't be backported to rubygems repository, since in 1.8, on Windows, that doesn't work.
=end
At Sun, 4 Jan 2009 23:32:30 +0900,
Luis Lavena wrote in [ruby-core:21112]:
Checking the changes introduced in lib/rubygems.rb
(Gem.find_home and others), you removed the code that lookup
for user profile using ENV and rely on expansion of "~"
I believe those changes are only valid for 1.9, correct?
And 1.8.7. Also, it's backported to 1.8.6 at patchlevel 127.
I'll like to point that those couldn't be backported to
rubygems repository, since in 1.8, on Windows, that doesn't
work.
=begin
On Mon, Jan 5, 2009 at 7:57 AM, Nobuyoshi Nakada nobu@ruby-lang.org wrote:
Hi,
At Sun, 4 Jan 2009 23:32:30 +0900,
Luis Lavena wrote in [ruby-core:21112]:
Checking the changes introduced in lib/rubygems.rb
(Gem.find_home and others), you removed the code that lookup
for user profile using ENV and rely on expansion of "~"
I believe those changes are only valid for 1.9, correct?
And 1.8.7. Also, it's backported to 1.8.6 at patchlevel 127.
Great
I'll like to point that those couldn't be backported to
rubygems repository, since in 1.8, on Windows, that doesn't
work.