Bug #951
closed"make DESTDIR=... install" creates dirs outside DESTDIR
Description
=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
Updated by nobu (Nobuyoshi Nakada) almost 16 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r21312.
=end
Updated by luislavena (Luis Lavena) almost 16 years ago
=begin
Mr. Nobuyoshi,
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
Updated by nobu (Nobuyoshi Nakada) almost 16 years ago
=begin
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.
I'll like to point that those couldn't be backported to
rubygems repository, since in 1.8, on Windows, that doesn't
work.
It may not be safe for 1.8.6, indeed.
--
Nobu Nakada
=end
Updated by luislavena (Luis Lavena) almost 16 years ago
=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.It may not be safe for 1.8.6, indeed.
Cool,
Eagerly looking to move most developments to 1.9
Thank you Mr. Nakada.
--
Luis Lavena
AREA 17
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
=end