Issue #7915 has been updated by vo.x (Vit Ondruch).

Status changed from Assigned to Closed

I cannot reproduce it with -p0, so it was probably fixed in the meantime.
----------------------------------------
Bug #7915: Rubygems stub shebang is wrongly expanded
https://bugs.ruby-lang.org/issues/7915#change-38438

Author: vo.x (Vit Ondruch)
Status: Closed
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/