Project

General

Profile

Actions

Backport #1941

closed

Issues with Ruby 1.8.6 patchlevel 383 and any package installation

Added by luislavena (Luis Lavena) over 14 years ago. Updated over 11 years ago.


Description

=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

Actions #1

Updated by wyhaines (Kirk Haines) over 14 years ago

  • Status changed from Open to Assigned

=begin

=end

Actions #2

Updated by luislavena (Luis Lavena) over 13 years ago

=begin
At patchlevel 398 we changed our patching strategy:

http://github.com/oneclick/rubyinstaller/blob/master/recipes/interpreter/ruby18.rake#L124-125

While is still unclear for me the purpose of above change, our patching solved our problem.

Thank you.
=end

Updated by luislavena (Luis Lavena) almost 12 years ago

  • Tracker changed from Bug to Backport
  • Description updated (diff)

Closing this out since Ruby 1.8.6 EOL has already passed and 1.8.6 is no longer maintained/support neither by Core or RubyInstaller.

Updated by luislavena (Luis Lavena) almost 12 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0