gem install does not preserve executable arguments in generated wrappers
------------------------------------------------------------------------
Key: JRUBY-4049
URL: http://jira.codehaus.org/browse/JRUBY-4049
Project: JRuby
Issue Type: Bug
Components: Application Error
Affects Versions: JRuby 1.3.1
Environment: jruby 1.3.1 (ruby 1.8.6p287) (2009-10-01 6586) (Java
HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
Reporter: John Firebaugh
$ sudo gem install ZenTest
Successfully installed ZenTest-4.1.4
1 gem installed
$ head -3 `which autotest`
#!/opt/local/bin/ruby -ws
#
# This file was generated by RubyGems.
$ head -1 /opt/local/lib/ruby/gems/1.8/gems/ZenTest-4.1.4/bin/autotest
#!/usr/local/bin/ruby -ws
But (after uninstalling the above):
$ sudo jgem install ZenTest
Successfully installed ZenTest-4.1.4
1 gem installed
$ head -3 `which autotest`
#!/usr/bin/env jruby
#
# This file was generated by RubyGems.
$ head -3 /opt/local/share/java/jruby/bin/autotest
#!/usr/bin/env jruby
#
# This file was generated by RubyGems.
$ head -1
/opt/local/share/java/jruby/lib/ruby/gems/1.8/gems/ZenTest-4.1.4/bin/autotest
#!/usr/local/bin/ruby -ws
The jgem-generated wrappers are missing the -ws arguments.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email