bad gem file creation using mode --1.9
--------------------------------------

                 Key: JRUBY-6208
                 URL: https://jira.codehaus.org/browse/JRUBY-6208
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.9.2
    Affects Versions: JRuby 1.6.5
         Environment: ubuntu 10.4
            Reporter: Giovanni Cristelli
            Assignee: Thomas E Enebo


With JRuby 1.6.5 using mode --1.9 (rake I've found that, when building my gems, 
the execution of the rake task gem creates a bad file where the data.tar.gz 
component is corrupted.
The same problem is present in other gems like net-ssh:
{code}
$ cd net-ssh-2.2.1

$ rake gem

$ gem unpack pkg/net-ssh-2.2.1.gem
ERROR:  While executing gem ... (Errno::EISDIR)
    Is a directory - Is a directory

$ tar xf pkg/net-ssh-2.2.1.gem
tar: data.tar.gz: implausibly old time stamp 1970-01-01 01:00:00
tar: metadata.gz: implausibly old time stamp 1970-01-01 01:00:00

$ tar tvfz data.tar.gz 
-rw-r--r-- wheel/wheel    8455 1970-01-01 01:00 CHANGELOG.rdoc
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
{code}

Using --1.8 mode or JRuby 1.6.4 (any mode) the gem file produced is correct.
I'm using rake 0.9.2.2 but I've tried with 0.8.7 and got the same error.

--
This message is automatically generated by JIRA.
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