On 21 Oct 2008, at 03:08, Shuaib85 wrote:
> > Well, it seems you misunderstood me > > The application is a read only application from the user side. The > user is only going to view the matrerial and not to write anything. > So, database will be readonly on the cd. As for the logs emmm. Will > think of a way to disable them. But I am not sure whether we can have > ruby on rails running on cd. the database could just be sqlite3 which will be quite happy with a read only file system. As far as the logs go, the easiest way would probably to set the logger to a custom Logger subclass that doesn't do anything at all. I imagine you could easily write a quick shell script/batch file/etc that spun up a webrick server and pointed the users' browser at it. You could probably rig it so that the entire ruby environment was on the cd (if not the user would have to have ruby installed) Fred > > > > On Oct 21, 11:56 am, Rails Terrorist <[EMAIL PROTECTED] > s.net> wrote: >> Hi Shuaib: >> Rails run in development or production mode, since you cant disable >> log >> of dev or prodt. You can use rails stand alone CD, like Ruby on Rails >> Portable and what about database? ouhave to think about it too. >> unless >> you linked logs to another hardisk drive of user. >> >> Reinhart >> Http://Teapoci.BlogSpot.com >> >> -- >> Posted viahttp://www.ruby-forum.com/. > > --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

