hi i wanna run this command ruby script/server automatically when windows start. can any one help me out how to do this . thanks in advance -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Norbert Melzer
2011-Oct-10 07:48 UTC
Re: how to run the ruby script/server when the system starts
Create a link set its working dir to the path of your rails application and put the command "ruby script/server" Then put the link in your superstar of stsrtmenu This is started when ever the user logs in. Don''t know a way to started before login in -- send by Samsung Galaxy Tab with Overcome Mod Am 10.10.2011 08:12 schrieb "honey ruby" <emailtohoneyruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> hi i wanna run this command ruby script/server automatically when > windows start. can any one help me out how to do this . > thanks in advance > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
hanish jadala
2011-Oct-10 09:22 UTC
Re: how to run the ruby script/server when the system starts
i want detailed steps to use that command when the windows starts. On Mon, Oct 10, 2011 at 1:18 PM, Norbert Melzer <timmelzer-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>wrote:> Create a link set its working dir to the path of your rails application and > put the command "ruby script/server" > > Then put the link in your superstar of stsrtmenu > > This is started when ever the user logs in. > > Don''t know a way to started before login in > > -- > send by Samsung Galaxy Tab with Overcome Mod > Am 10.10.2011 08:12 schrieb "honey ruby" <emailtohoneyruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > hi i wanna run this command ruby script/server automatically when >> windows start. can any one help me out how to do this . >> thanks in advance >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Luis Lavena
2011-Oct-10 09:45 UTC
Re: how to run the ruby script/server when the system starts
On Oct 10, 11:22 am, hanish jadala <emailtohoneyr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i want detailed steps to use that command when the windows starts. >*I want* sounds like an order, not a desire for someone to help. Look into how to run a command line application into a service, srvany and others. Do your own research so when there are problems you have the knowledge to solve them by yourself. -- Luis Lavena -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
Norbert Melzer
2011-Oct-10 09:49 UTC
Re: how to run the ruby script/server when the system starts
All I know is that it depends on your windows version. But probably it would be easier in your case to install apache webserver and mod_rails aka passenger and configure the apache as a service. Only problem here: I don''t know if passenger runs in windows. I''m using a Linux box for all Ruby projects since I had many problems with various gems that needed to be natively build. -- send by Samsung Galaxy Tab with Overcome Mod Am 10.10.2011 11:22 schrieb "hanish jadala" <emailtohoneyruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> i want detailed steps to use that command when the windows starts. > > On Mon, Oct 10, 2011 at 1:18 PM, Norbert Melzer <timmelzer-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>wrote: > >> Create a link set its working dir to the path of your rails application >> and put the command "ruby script/server" >> >> Then put the link in your superstar of stsrtmenu >> >> This is started when ever the user logs in. >> >> Don''t know a way to started before login in >> >> -- >> send by Samsung Galaxy Tab with Overcome Mod >> Am 10.10.2011 08:12 schrieb "honey ruby" <emailtohoneyruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: >> >> hi i wanna run this command ruby script/server automatically when >>> windows start. can any one help me out how to do this . >>> thanks in advance >>> >>> -- >>> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >>> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Luis Lavena
2011-Oct-10 14:06 UTC
Re: how to run the ruby script/server when the system starts
On Oct 10, 11:49 am, Norbert Melzer <timmel...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> All I know is that it depends on your windows version. > > But probably it would be easier in your case to install apache webserver and > mod_rails aka passenger and configure the apache as a service. >mod_rails is POSIX only. -- Luis Lavena -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
Norm Scherer
2011-Oct-10 15:25 UTC
Re: how to run the ruby script/server when the system starts
mod_rails aka passenger has not been ported to windows. You can configure mongrel and mysql as services and set them to start at startup. You could also write a small script and put it in the startup folder to be run when you login. Either works but you need to do some research on how they will work on your version of windows. Norm On 10/10/2011 02:49 AM, Norbert Melzer wrote:> > All I know is that it depends on your windows version. > > But probably it would be easier in your case to install apache > webserver and mod_rails aka passenger and configure the apache as a > service. > > Only problem here: I don''t know if passenger runs in windows. I''m > using a Linux box for all Ruby projects since I had many problems with > various gems that needed to be natively build. > > -- > send by Samsung Galaxy Tab with Overcome Mod > > Am 10.10.2011 11:22 schrieb "hanish jadala" > <emailtohoneyruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <mailto:emailtohoneyruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>>: > > i want detailed steps to use that command when the windows starts. > > On Mon, Oct 10, 2011 at 1:18 PM, Norbert Melzer > <timmelzer-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org <mailto:timmelzer-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>> wrote: > > Create a link set its working dir to the path of your rails > application and put the command "ruby script/server" > > Then put the link in your superstar of stsrtmenu > > This is started when ever the user logs in. > > Don''t know a way to started before login in > > -- > send by Samsung Galaxy Tab with Overcome Mod > > Am 10.10.2011 08:12 schrieb "honey ruby" > <emailtohoneyruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <mailto:emailtohoneyruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>>: > > hi i wanna run this command ruby script/server > automatically when > windows start. can any one help me out how to do this . > thanks in advance > > -- > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
hanish jadala
2011-Oct-11 05:56 UTC
Re: Re: how to run the ruby script/server when the system starts
no no its not a order Mr.Luis Lavena seeking for help that''s it. i have written a batch file for that command. i want to run that batch file automatically when windows start. looking for this process. i already my started my research 5 days back only could not find a proper way. On Mon, Oct 10, 2011 at 3:15 PM, Luis Lavena <luislavena-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Oct 10, 11:22 am, hanish jadala <emailtohoneyr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > i want detailed steps to use that command when the windows starts. > > > > *I want* sounds like an order, not a desire for someone to help. > > Look into how to run a command line application into a service, srvany > and others. > > Do your own research so when there are problems you have the knowledge > to solve them by yourself. > > -- > Luis Lavena > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law
2011-Oct-11 06:38 UTC
Re: Re: how to run the ruby script/server when the system starts
On 11 October 2011 06:56, hanish jadala <emailtohoneyruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> no no its not a order Mr.Luis Lavena seeking for help that''s it. i have > written a batch file for that command. i want to run that batch file > automatically when windows start. looking for this process. i already my > started my research 5 days back only could not find a proper way.If you have a batch file that you want to run on Windows startup then that is a Windows question, not a Rails question so you might be better asking on a Windows list rather than a Rails one. I believe most people here use Linux or Mac (which are both much better for Rails than Windows is) so this is probably not the best place to ask. Googling for windows run on startup seems to produce a number of useful looking links. Colin> > On Mon, Oct 10, 2011 at 3:15 PM, Luis Lavena <luislavena-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> On Oct 10, 11:22 am, hanish jadala <emailtohoneyr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> > i want detailed steps to use that command when the windows starts. >> > >> >> *I want* sounds like an order, not a desire for someone to help. >> >> Look into how to run a command line application into a service, srvany >> and others. >> >> Do your own research so when there are problems you have the knowledge >> to solve them by yourself. >> >> -- >> Luis Lavena >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- gplus.to/clanlaw -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
Peter Hicks
2011-Oct-11 06:50 UTC
Re: Re: how to run the ruby script/server when the system starts
You''re better asking a Windows guy than a Rails group. You can probably run the batch file as a service on Windows, but how to do that is beyond me. Peter On Oct 11, 2011 6:56 AM, "hanish jadala" <emailtohoneyruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> no no its not a order Mr.Luis Lavena seeking for help that''s it. i have > written a batch file for that command. i want to run that batch file > automatically when windows start. looking for this process. i already my > started my research 5 days back only could not find a proper way. > > > On Mon, Oct 10, 2011 at 3:15 PM, Luis Lavena <luislavena-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> On Oct 10, 11:22 am, hanish jadala <emailtohoneyr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> > i want detailed steps to use that command when the windows starts. >> > >> >> *I want* sounds like an order, not a desire for someone to help. >> >> Look into how to run a command line application into a service, srvany >> and others. >> >> Do your own research so when there are problems you have the knowledge >> to solve them by yourself. >> >> -- >> Luis Lavena >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Luis Lavena
2011-Oct-11 08:18 UTC
Re: how to run the ruby script/server when the system starts
On Oct 11, 7:56 am, hanish jadala <emailtohoneyr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> no no its not a order Mr.Luis Lavena seeking for help that''s it. i have > written a batch file for that command. i want to run that batch file > automatically when windows start. looking for this process. i already my > started my research 5 days back only could not find a proper way. >I did include in my response some hints that would help you figure it out: srvany is one. The other way is use scheduled task and make them run on user session start. You can ask more Windows-specific questions at RubyInstaller group: http://groups.google.com/group/rubyinstaller/ -- Luis Lavena -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.