From: thunk Date: 2010-04-07T13:00:13+09:00 Subject: Re: Heroku progamming On Apr 6, 10:32 pm, Josh Cheek wrote: > [Note:  parts of this message were removed to make it a legal post.] > > > > On Tue, Apr 6, 2010 at 10:20 PM, thunk wrote: > > >http://en.wikipedia.org/wiki/Heroku > > > Hello, > > > We have a Ruby program that: > > > 1.  Is based on Wee + rack > > 2.  Accepts input from a browser/client > > 3.  Generates a text file,  which is also a ruby class > > > Is this an appropriate 'Ruby' topic? > > > If so: > > > 1  Does 'Heroku' seem like the best place for such a simple program? > > 2. There seemed to be issues with simple file saving but we have no > > long term interest in RDMS (would use couchDB/JSON) > > > If it is, can anybody point to potential problems? > > > Respectfully, > > > gk > > 3 will be a problem, you can't write to Heroku's file system. When we deploy > on Heroku, we use Amazon to store files (pictures, mp3s, etc). Josh, Your point, is what I remember not being clear about. Thank you! On a single user system we are using the following code to load textfiles into the program as executable classes. http://gist.github.com/358497 I remain unclear if this can be done on Heroku, and how. Can the newly created text file be saved to Amazon? If so, how is this done? (Normal File IO? somehow?) If we stored the text files into a RDMS, can you think of a way to become classes in the running program? Is there a "work-around" to accomplish this somehow? Thank you! gk