-
Notifications
You must be signed in to change notification settings - Fork 317
Closed
Description
Under JRuby, the rake
command fails the first time. For example:
$ ruby -v
jruby 1.7.5 (1.9.3p392) 2013-10-07 74e9291 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_09-b05 [darwin-x86_64]
$ bundle exec rake
...
adding: data/file2.txt (deflated 79%)
deleting: data/file2.txt
zip warning: zip file empty
RuntimeError: No such file or directory - data/generated/empty_chmod640.txt
ziptest.rb requires the Info-ZIP program 'zip' in the path
to create test data. If you don't have it you can download
the necessary test files at http://sf.net/projects/rubyzip.
create_test_zips at /Users/jkutner/workspace/rubyzip/test/gentestfiles.rb:141
(root) at /Users/jkutner/workspace/rubyzip/test/gentestfiles.rb:159
But if I remove line 96 from test/gentestfiles.rb
the task works and all tests pass. Also, if the fixtures where created by MRI, then the tests pass under JRuby.
Are there any suggested work arounds? rubyzip is essential to Warbler, so I'm happy to help get it back under CI.
Metadata
Metadata
Assignees
Labels
No labels