[Rails] RubyZip zip file creation works on localhost but not heroku

2014-01-17 Thread Curtis Ovard
I'm pretty sure you can't save files on heroku. You would need to save it to something like AWS. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [Rails] RubyZip zip file creation works on localhost but not heroku

2014-01-17 Thread Jordon Bedwell
On Fri, Jan 17, 2014 at 8:23 AM, Curtis Ovard ovar...@gmail.com wrote: I'm pretty sure you can't save files on heroku. You would need to save it to something like AWS. If it's for a user you could just offload it onto them too by using something like jszip and doing it in browser. -- You

[Rails] RubyZip zip file creation works on localhost but not heroku

2014-01-16 Thread Steven Harlow
I have rubyzip 0.9.9 and am creating a zip file like so: Zip::ZipFile.open(zip_path, Zip::ZipFile::CREATE) do |zipfile| #code goes here end When I give it a zip path like this: zip_path = File.join(Rails.root, /tmp/zips/#{zip.id}.zip) , it works fine locally, but not on heroku. On