From: "mpapis (Michal Papis)" Date: 2013-01-17T04:52:58+09:00 Subject: [ruby-core:51478] [ruby-trunk - Bug #7172] [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2) Issue #7172 has been updated by mpapis (Michal Papis). just took another look on ruby-trunk and there are still two changes missing: - https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/1.9.3/p286/ruby-multilib.patch#L16 - https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/1.9.3/p286/ruby-multilib.patch#L36 they are required to allow proper compilation of gems/extensions after ruby is moved to a new location. would it be possible to get this into 2.0.0-p0 as it was reported already on 1.9.3-p194 (https://bugs.ruby-lang.org/issues/7115) ---------------------------------------- Bug #7172: [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2) https://bugs.ruby-lang.org/issues/7172#change-35452 Author: mpapis (Michal Papis) Status: Assigned Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: Target version: ruby -v: continuation of http://bugs.ruby-lang.org/issues/6903 and http://bugs.ruby-lang.org/issues/7115 Checked with http://bugs.ruby-lang.org/projects/ruby-193/repository/entry/tool/mkconfig.rb and p286, there is still missing fix for rbconfig, it can be found here: https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/1.9.3/p286/ruby-multilib.patch it does two things important for movable rubies: 1. https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/1.9.3/p286/ruby-multilib.patch#L27-28 - properly detect libruby prefix on system with `lib64` 2. https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/1.9.3/p286/ruby-multilib.patch#L36 - replace all occurrences of application prefix with `$(prefix)` so after moving ruby to other location final system paths are used instead of the build system paths, this solves number of issues, especially with compilation gem native extensions. -- http://bugs.ruby-lang.org/