From: Kenley Tan Date: 2012-05-11T00:55:05+09:00 Subject: Re: How to create a sinatra app that can create ebooks on heroku? Hassan, Google has customized results for each person, so could you send me links to those gems. Also, I don't think I'll store the files, but I'll try using s3 from now on Thanks On May 10, 2012, at 10:49 PM, Hassan Schroeder wrote: > On Thu, May 10, 2012 at 7:26 AM, Kenley Tan wrote: > >> Thanks for responding, but google gave me gems that require the use of >> commandline tools, but I want it as a sinatra app. > > A gem is a gem - a ruby library; the fact that a given gem *provides* a > command line interface is irrelevant. Or perhaps we got very different > results from the same search :-) > >> Also, I have no idea how to use the tmp directory in heroku and allow users >> to download files. > > Forget about trying to use the Heroku file system; it effectively doesn't > exist. Use Amazon S3 or equiv if you need to store generated files. > > -- > Hassan Schroeder ------------------------ hassan.schroeder@gmail.com > http://about.me/hassanschroeder > twitter: @hassan >