Hey,

I'm trying to create a zipfile containing a lots of pictures that
where uploaded using attachement_fu.
I used rubyzip, and everything worked great until I used it to
compress a lot of files, then it produced a RangeError (from an
Array#pack call somewhere in rubyzip).
So with a little irc help, I found out I could use a system call
(something like: system("zip -g zipfile file_to_add") ) and it should
work.
It worked locally (mac ruby 1.8.6 rails 2.3.3), but not on my server
(same but linux).
But when invoking a ruby script (ruby zipper.rb), with a few dumy
system calls it works.
When logging the return value of the Kernel.system call, it returns
nil.

I'm near banging my head against the wall, please help.

Geoff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to