Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: JRuby 1.5.2
-
Fix Version/s: None
-
Component/s: Miscellaneous
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
I am attempting to create a gem called Jarbler. One of my goals is to make it very simple to take Gemfile's and set them up to be embedded in a jar.
Unfortunately, the "-S script" command line doesn't want to let me run my commands. Even trying Nick Sieger's Gem in a Jar fails.
After reviewing the code, I thought putting them in my own jar, in the path: /META-INF/jruby.home/bin would solve the problem, however jruby.home is resolved down to a jar:// style path for the primary jar.
I have modified the RubyInstanceConfig to stop trying to be smart and to just use classpath:/META-INF/jruby.home/ when nothing is configured.
All tests pass. The issue is resolved.
Changeset: http://github.com/ericanderson/jruby/commit/523da7926974b32263bbc26b5402cddac56c8eca