io.pos throws "Illegal seek" when reading from a file-in-a-jar
--------------------------------------------------------------

                 Key: JRUBY-5006
                 URL: http://jira.codehaus.org/browse/JRUBY-5006
             Project: JRuby
          Issue Type: Bug
          Components: Standard Library
    Affects Versions: JRuby 1.5.1
            Reporter: mccraigmccraig of the clan mccraig
            Assignee: Thomas E Enebo


io.pos throws an exception when reading from a file-in-a-jar

this is causing me a problem when installing gems with bundler, which tries to 
read gemspecs from gems included in a jruby-complete.jar

-->

gemfile = 
"file:/Users/mccraig/dev/sonar-connector/sonar-connector-bundle/lib/jruby-complete-master-20100805.jar!/META-INF/jruby.home/lib/ruby/gems/1.8/cache/rake-0.8.7.gem"
io=File.new(gemfile, "r")
io.pos

Errno::ESPIPE: Illegal seek - Illegal seek
        from (irb):12


-- 
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


Reply via email to