[Raven-user] JSAP gem seems to be corrupted
h-br at gmx.net
Fri Jun 1 12:10:49 EDT 2007
I have recently started to use Raven for my project and I liked what
I've seen so far. However, I had problems when I tried to install the
JSAP library as a dependency.
When I execute the rakefile I get the following error:
> Downloading remote gem com-martiansoftware (jsap) to satisfy
> rake aborted!
> Illformed requirement [jsap]
I don't have much experience with Ruby gems, but I looked around a bit
and found a few things that might be related to the problem:
1. Name and version of the gem are wrong. The library's name is actually
"jsap" but the gem is called "com-martiansoftware" and the version it
"jsap". I don't know if this causes the error but it's still not correct.
2. I downloaded the gem manually (from http://gems.rubyraven.org) and
opened it it with an archive manager. It seems that the jar-file that's
inside is corrupted:
> End-of-central-directory signature not found. Either this file is not
> a zipfile, or it constitutes one disk of a multi-part archive. In the
> latter case the central directory and zipfile comment will be found on
> the last disk(s) of this archive.
> zipinfo: cannot find zipfile directory in one of
> /tmp/fr-deVtzC/ext/martiansoftware-jsap.jar.zip, and cannot
> /tmp/fr-deVtzC/ext/martiansoftware-jsap.jar.ZIP, period.
I tried to work around this problem by building my own gem file and
provide it through a local raven repository. I managed to get a gem file
built, but then failed to somehow import it into my local raven
repository due to lacking documentation.
I think the best way to fix this would be to fix the gem in the Raven
repository, but I would also be very happy if someone could point me to
documentation on how to import gems into a local repository (if such
documentatio nexists, I couldn't find any).
Thanks to the to the Raven developers for writing this impressive build
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 61952 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/raven-user/attachments/20070601/2f4a23e3/attachment-0001.obj
More information about the Raven-User