From: Luis Lavena Date: 2009-08-16T13:45:39+09:00 Subject: [ruby-core:24934] [Bug #1941] Issues with Ruby 1.8.6 patchlevel 383 and any package installation Bug #1941: Issues with Ruby 1.8.6 patchlevel 383 and any package installation http://redmine.ruby-lang.org/issues/show/1941 Author: Luis Lavena Status: Open, Priority: High Assigned to: Kirk Haines ruby -v: ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32] Working on updating RubyInstaller packages to recently released patchlevel 383, found that my patching strategies over rbconfig no longer works. On previous patchlevel (368), I configure ruby with my sandbox path, and once installed, gsub it from rbconfig, leaving this: CONFIG["prefix"] = (TOPDIR || DESTDIR + "") Where my path was inside "". Since TOPDIR refers to rbconfig.rb itself (but with stripped path), prefix end being always the path where Ruby ends installed/copied. DESTDIR ends not being used for the prefix, and it's value turns to be "C:" Now, bear with me for a second, on p368: CONFIG["libdir"] = "$(exec_prefix)/lib" CONFIG["exec_prefix"] = "$(prefix)" But on p383: CONFIG["exec_prefix"] = "$(DESTDIR)" This affects installation of rubygems and packages that uses setup.rb Other places that uses $(DESTDIR) instead of previous values: CONFIG["sitedir"] = "$(DESTDIR)/lib/ruby/site_ruby" Wonder why the change, if DESTDIR was not used during make, why remove the usage of prefix on this case? Thank you. ---------------------------------------- http://redmine.ruby-lang.org