Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0
Assignee: Thomas E Enebo
Created: 26/Oct/12 3:43 PM
Description:

Related:
https://logstash.jira.com/browse/LOGSTASH-642?focusedCommentId=14426&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14426

Basically, if I 'require "foo"' and foo.rb is in jar file itself, _FILE_ is "file:/path/to/jar!/foo.rb" - which is cool. I like that, File.open() can work with thiat.

If 'require "foo"' loads a gem from the jar, _FILE_ is something like:

"jar:file:/path/to/jar!/gems/foo-1.2.3/lib/foo.rb"

The problem here is that the "jar:" prefix breaks stuff. I cannot 'File.open' a file with this path, but if I strip off the "jar:" prefix, it works.

Project: JRuby
Priority: Major Major
Reporter: Jordan Sissel
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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

Reply via email to