[
https://issues.apache.org/jira/browse/BUILDR-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907941#action_12907941
]
Paul Walker commented on BUILDR-462:
------------------------------------
Forgive me, I had manually updated the verion of rubyzip in the gemspec in an
attempt to get buildr to work with the latest version of warbler (which
requires >= 0.9.4 rubyzip). Currently, the latest warbler cannot be referenced
within a buildfile.
> undefined method `length' for -1:Fixnum
> ---------------------------------------
>
> Key: BUILDR-462
> URL: https://issues.apache.org/jira/browse/BUILDR-462
> Project: Buildr
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.4
> Environment: ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux]
> Reporter: Kristof Jozsa
>
> kjo...@walrus:/tmp/test$ ls
> buildfile
> kjo...@walrus:/tmp/test$ cat buildfile
> define 'stuff' do
> project.group = 'x'
> project.version = '1.0.0'
> package :jar, :id => 'ziperror'
> end
> kjo...@walrus:/tmp/test$ buildr package
> (in /tmp/test, development)
> Building stuff
> Packaging stuff
> Packaging ziperror-1.0.0.jar
> Buildr aborted!
> NoMethodError : undefined method `length' for -1:Fixnum
> (See full trace by running task with --trace)
> kjo...@walrus:/tmp/test$ buildr package --trace 2>&1 | grep -A3 NoMethod
> NoMethodError : undefined method `length' for -1:Fixnum
> /usr/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.4/lib/zip/zip.rb:732:in
> `write_c_dir_entry'
> /usr/lib/ruby/gems/1.9.1/gems/buildr-1.4.0/lib/buildr/packaging/zip.rb:37:in
> `block in write_to_stream'
> /usr/lib/ruby/gems/1.9.1/gems/buildr-1.4.0/lib/buildr/packaging/zip.rb:37:in
> `each'
> kjo...@walrus:/tmp/test$
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.