From: "luislavena (Luis Lavena)" Date: 2012-05-26T01:23:23+09:00 Subject: [ruby-core:45236] [Backport86 - Backport #1941][Closed] Issues with Ruby 1.8.6 patchlevel 383 and any package installation Issue #1941 has been updated by luislavena (Luis Lavena). Status changed from Assigned to Closed ---------------------------------------- Backport #1941: Issues with Ruby 1.8.6 patchlevel 383 and any package installation https://bugs.ruby-lang.org/issues/1941#change-26824 Author: luislavena (Luis Lavena) Status: Closed Priority: High Assignee: wyhaines (Kirk Haines) Category: Target version: =begin 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. =end -- http://bugs.ruby-lang.org/