Unix jruby-1.5.0.RC1 distro includes rubygems/default/jruby_native.rb without
native launcher
---------------------------------------------------------------------------------------------
Key: JRUBY-4730
URL: http://jira.codehaus.org/browse/JRUBY-4730
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.5
Environment: Linux : jruby 1.5.0.RC1 (ruby 1.8.7 patchlevel 249)
(2010-04-14 0b08bc7) (Java HotSpot(TM) Server VM 1.6.0_19) [i386-java]
Reporter: David Kellum
Assignee: Thomas E Enebo
This file is installed in site_ruby apparently to disable jruby rubygems
default use use of --env-shebang:
% cat jruby-1.5.0.RC1/lib/ruby/site_ruby/1.8/rubygems/defaults/jruby_native.rb
class Gem::ConfigFile
PLATFORM_DEFAULTS.delete('install')
PLATFORM_DEFAULTS.delete('update')
end
But without this flag, and without the native launcher installed, the user will
end up with non-functioning gem bin wrapper scripts.
I don't know the specific motivation of this change, but perhaps it could more
reliably be tested by scripting a check to see if the jruby binary involved
starts with '#!' (do use --env-shebang) or not?
--
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