Hi all, I will distribute a Merb application as a gem. All the pieces are in place, except one: when daemonizing, the PID files are put in the default log/ location, instead of the place I defined. I looked through the code, and it seems possible to change the location of the log files, but the paths are hard-coded. I would have to abstract these away. Am I approaching this the right way, or should I look into another way ? Thanks ! Fran?ois
On Dec 13, 2007, at 8:55 AM, Fran?ois Beausoleil wrote:> Hi all, > > I will distribute a Merb application as a gem. All the pieces are in > place, except one: when daemonizing, the PID files are put in the > default log/ location, instead of the place I defined. > > I looked through the code, and it seems possible to change the > location > of the log files, but the paths are hard-coded. I would have to > abstract these away. > > Am I approaching this the right way, or should I look into another > way ? > > Thanks ! > Fran?ois >Hi Francios- Yeah I think being able to run a merb app as a gem is a good goal. I would be happy to accept a patch that made the log file and pid files location configurable. Cheers- - Ezra Zygmuntowicz -- Founder & Software Architect -- ezra at engineyard.com -- EngineYard.com
Hello Ez, all, Ezra Zygmuntowicz a ?crit :> On Dec 13, 2007, at 8:55 AM, Fran?ois Beausoleil wrote: > >> I will distribute a Merb application as a gem. All the pieces are in >> place, except one: when daemonizing, the PID files are put in the >> default log/ location, instead of the place I defined. >> >> I looked through the code, and it seems possible to change the location >> of the log files, but the paths are hard-coded. I would have to >> abstract these away. > > Yeah I think being able to run a merb app as a gem is a good goal. I > would be happy to accept a patch that made the log file and pid files > location configurable.Ticket #372 implements this. http://merb.devjavu.com/ticket/372 Any plans on when 0.5 will be released ? Thanks ! Fran?ois