From: "vo.x (Vit Ondruch)" Date: 2013-04-11T19:10:55+09:00 Subject: [ruby-core:54173] [ruby-trunk - Bug #7915][Assigned] Rubygems stub shebang is wrongly expanded Issue #7915 has been updated by vo.x (Vit Ondruch). Status changed from Closed to Assigned I couldn't reproduce the issue, since there is this patch applied in Fedora: http://pkgs.fedoraproject.org/cgit/ruby.git/tree/ruby-2.0.0-revert-unexpand-exec-prefix.patch So this is still relevant. Sorry for the noise :/ ---------------------------------------- Bug #7915: Rubygems stub shebang is wrongly expanded https://bugs.ruby-lang.org/issues/7915#change-38444 Author: vo.x (Vit Ondruch) Status: Assigned Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: Target version: current: 2.1.0 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/