Dear is there a way that we can rails on cd. for example, a dictionary book has a cd and they asked me to do software for that. since i am familiar with rails, i prefer to do it on rails. So, can we have a way to run the application from the cd. Note the applocation is read only thanks --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On Oct 21, 11:56 am, Rails Terrorist <rails-mailing-l...@andreas- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Have you checked out Joyent Slingshot? Not sure if it''s what you''re looking for, but its worth a look. On Oct 21, 6:37 am, Andrew Porter <a...-OV3k8GMR8cdg9hUCZPvPmw@public.gmane.org> wrote:> 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. > > You need a web server - to get a web server your CD would have to be a > bootable Linux (or other CD) that started a webserver and GUI - whether > you can actually implement this and then persuade a user to boot off it > are probably bigger problems than whether your application will work on > a read only filesystem (though you could easily run a RAM disk if you > got that far).--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, thanks for the replies. Joyent Slingshot seems like the one, but the website is down (: anyway, thanks I wish that I can find someone who did it --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. >If the application is read only, then you might be able to get away with a framework like webby: http://webby.rubyforge.org/ It will generate static HTML. You can probably get away without even running a webserver. If that won''t work for you, I''d suggest you look at InstantRails (assuming all your clients run Windows). I used this once for an app that had to run locally (i.e. we couldn''t have a webserver). But you are still looking at a headache to try to run it ONLY from the CD. You could probably create an easy installer though. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 <rails-mailing-l...@andreas- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---