Hi guys, Is there a way of starting Webrick as services on Windows, or some other trick to get rid of console windows? And, beyond that, is Webrick able to do with a havy demand site? Cheers, eduardo.
Hey eduardo, Can''t say much about the demand part of your question, but you might want to check out win32utils -- http://rubyforge.org/projects/win32utils/ -- there''s a library for creating and managing windows services that i have used to package damagecontrol for windows. Lee On 4/14/05, Eduardo Manso <emneto-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi guys, > > Is there a way of starting Webrick as services on Windows, > or some other trick to get rid of console windows? > > And, beyond that, is Webrick able to do with a havy demand site? > > Cheers, > > eduardo. > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >********************************* All that is gold does not glitter. Not all those who wander are lost. The old who are strong do not whither. Deep roots are not touched by the frost. -- J.R.R. Tolkein leepope-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Hi, Eduardo, even while i''m pretty new to rails and this is my first post to the list: For production quality and scalability of your RoR-app FastCGI seems to be the way to go. You''ll find information on http://wiki.rubyonrails.com/rails/show/FastCGI and since you seem to be on windows maybe you would like to test the One-Click Ruby For Apache: http://rubyforge.org/projects/rubyforapache Best regards Jan Prill PS: Hello to everybody and thanks for this great framework - Keep up the good work! I''m coming from the Java World and really can''t understand the bashing that is going on on theserverside.com for example. There''s so much great open source out there - let''s just learn from each other. Lee Pope wrote: Hey eduardo, Can''t say much about the demand part of your question, but you might want to check out win32utils -- http://rubyforge.org/projects/win32utils/ -- there''s a library for creating and managing windows services that i have used to package damagecontrol for windows. Lee On 4/14/05, Eduardo Manso wrote: Hi guys, Is there a way of starting Webrick as services on Windows, or some other trick to get rid of console windows? And, beyond that, is Webrick able to do with a havy demand site? Cheers, eduardo. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails ********************************* All that is gold does not glitter. Not all those who wander are lost. The old who are strong do not whither. Deep roots are not touched by the frost. -- J.R.R. Tolkein leepope-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On 4/14/05, Eduardo Manso <emneto-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi guys, > > Is there a way of starting Webrick as services on Windows, > or some other trick to get rid of console windows?You can use rubyw.exe instead of ruby.exe to run the webrick server. I put a shortcut in my Windows startup that looks something like this: C:\Documents\Tools\ruby\bin\rubyw.exe c:\dev\ruby\srgrails\script\server Start in: c:\dev\ruby\srgrails\ Not quite a Windows service (there are options for that as well), but it works quite nicely. -- Chris Brooks http://www.chrisbrooks.org
Thanks Lee, i''ll take a look. eduardo. Lee Pope wrote:> Hey eduardo, > > Can''t say much about the demand part of your question, but you might > want to check out win32utils -- > http://rubyforge.org/projects/win32utils/ -- there''s a library for > creating and managing windows services that i have used to package > damagecontrol for windows. > > Lee > > On 4/14/05, Eduardo Manso <emneto-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >>Hi guys, >> >>Is there a way of starting Webrick as services on Windows, >>or some other trick to get rid of console windows? >> >>And, beyond that, is Webrick able to do with a havy demand site? >> >>Cheers, >> >>eduardo. >>_______________________________________________ >>Rails mailing list >>Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>http://lists.rubyonrails.org/mailman/listinfo/rails >> > > > > ********************************* > > All that is gold does not glitter. > Not all those who wander are lost. > The old who are strong do not whither. > Deep roots are not touched by the frost. > -- J.R.R. Tolkein > > > leepope-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Hi, Jan Prill wrote:> Hi, Eduardo, > > even while i''m pretty new to rails and this is my first post to the list: > > For production quality and scalability of your RoR-app FastCGI seems to > be the way to go. >Yeah. I know that. I''m using FastCGI (with Apache2) in my learning/development (i''m a newbie too!) machine but, I was wondering that not all client''s installation will have Apache (nor Lighttpd) so, an alternative could be Webrick running as a service (like Apache does). Silently and away from the client''s eyes... I''m talking about Windows installations, of course... Thanks anyway, for your quickly response. Regards, eduardo.
Hi Chris, sounds as a good solution... Thanks, eduardo. Chris Brooks wrote:> On 4/14/05, Eduardo Manso <emneto-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >>Hi guys, >> >>Is there a way of starting Webrick as services on Windows, >>or some other trick to get rid of console windows? > > > You can use rubyw.exe instead of ruby.exe to run the webrick server. > I put a shortcut in my Windows startup that looks something like this: > > C:\Documents\Tools\ruby\bin\rubyw.exe c:\dev\ruby\srgrails\script\server > > Start in: c:\dev\ruby\srgrails\ > > Not quite a Windows service (there are options for that as well), but > it works quite nicely. >
Hi Chris, sounds as a good solution... Thanks, eduardo Chris Brooks wrote:> On 4/14/05, Eduardo Manso <emneto-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >>Hi guys, >> >>Is there a way of starting Webrick as services on Windows, >>or some other trick to get rid of console windows? > > > You can use rubyw.exe instead of ruby.exe to run the webrick server. > I put a shortcut in my Windows startup that looks something like this: > > C:\Documents\Tools\ruby\bin\rubyw.exe c:\dev\ruby\srgrails\script\server > > Start in: c:\dev\ruby\srgrails\ > > Not quite a Windows service (there are options for that as well), but > it works quite nicely. >