From: "vo.x (Vit Ondruch)" Date: 2013-02-23T05:48:17+09:00 Subject: [ruby-core:52716] [ruby-trunk - Bug #7915] Rubygems stub shebang is wrongly expanded Issue #7915 has been updated by vo.x (Vit Ondruch). Reverting 39267 (part of 39320 backport) fixed the issue. Could you plase revert or provide better patch? Thank you. ---------------------------------------- Bug #7915: Rubygems stub shebang is wrongly expanded https://bugs.ruby-lang.org/issues/7915#change-36802 Author: vo.x (Vit Ondruch) Status: Open Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: Target version: ruby -v: ruby 2.0.0dev (2013-02-14 trunk 39237) [x86_64-linux] =begin Rubygems stub shebang is wrongly expanded. It used to be /usr/bin/ruby in rev39237 and now it is /bin/ruby in rev39387. It seems, that the --with-exec prefix is wrong handled, se ruby -rrbconfig -e "RbConfig::CONFIG.each {|c| p c}" output [1], where the 'exec_prefix' value is empty, where it used to contain /usr value. I guess that 39320 is the offending patch. [1] https://gist.github.com/voxik/5016136 =end -- http://bugs.ruby-lang.org/