From: Eloy D. <elo...@gm...> - 2007-08-31 20:35:18
|
Hey Tim, I'm also using the solution mentioned by Laurent atm in an application. Unless you need to be able to interact more than via HTTP this is a good viable option. My 2 cents :) Cheers, Eloy On 8/31/07, Laurent Sansonetti <lsa...@ap...> wrote: > Hey Tim, > > NSTask could also be used to launch mongrel within the appropriate > Rails app directory. > > http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSTask_Class/Reference/Reference.html > > NSTalk might be more reliable than the Ruby core equivalents, > especially since you target OSX. > > Laurent > > On Aug 30, 2007, at 9:35 PM, Tim Perrett wrote: > > > Hey chaps > > > > I dont suppose if anyone knows if there is a way of booting a rails > > app (with mongrel) from a RC application is there? I guess I just > > need some programatic way of starting starting mongrel and then to > > check periodically if it is still running? > > > > Cheers > > > > Tim > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Rubycocoa-talk mailing list > > Rub...@li... > > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > |