Forum: Ruby-core [ruby-trunk - Bug #7915][Open] Rubygems stub shebang is wrongly expanded

Posted by Vít Ondruch (vo_x)
on 2013-02-22 21:04
(Received via mailing list)
Issue #7915 has been reported by vo.x (Vit Ondruch).

----------------------------------------
Bug #7915: Rubygems stub shebang is wrongly expanded
https://bugs.ruby-lang.org/issues/7915

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
Posted by Vít Ondruch (vo_x)
on 2013-02-22 21:54
(Received via mailing list)
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
Posted by mame (Yusuke Endoh) (Guest)
on 2013-02-24 05:39
(Received via mailing list)
Issue #7915 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned
Target version set to 2.0.0

Nobu said he cannot repro.
Sorry, we have no time to consider this issue.
It may be fixed in a patch level release after 2.0.0-p0.

--
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Bug #7915: Rubygems stub shebang is wrongly expanded
https://bugs.ruby-lang.org/issues/7915#change-36873

Author: vo.x (Vit Ondruch)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category:
Target version: 2.0.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
Posted by mame (Yusuke Endoh) (Guest)
on 2013-02-24 06:12
(Received via mailing list)
Issue #7915 has been updated by mame (Yusuke Endoh).

Target version changed from 2.0.0 to 2.1.0


----------------------------------------
Bug #7915: Rubygems stub shebang is wrongly expanded
https://bugs.ruby-lang.org/issues/7915#change-36887

Author: vo.x (Vit Ondruch)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category:
Target version: 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
Posted by Vít Ondruch (vo_x)
on 2013-04-11 09:34
(Received via mailing list)
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
Posted by Vít Ondruch (vo_x)
on 2013-04-11 12:11
(Received via mailing list)
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/r...

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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.