Kelly Felkins
2006-Feb-22 20:45 UTC
[Rails] is there really a restart task in switchtower? How do you invoke it?
I just created a new rails project "test". I then did "switchtower --apply-to ~/user/test test" I then moved into test and tried "rake restart" and got: kfelkins@lurch:~/user/test$ rake restart (in /home/kfelkins/user/test) rake aborted! Don''t know how to build task ''restart'' I see restart in deploy. Can restart be invoked from the command line? -Kelly -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060222/f8daa031/attachment.html
Agnieszka Figiel
2006-Feb-22 21:31 UTC
[Rails] Re: is there really a restart task in switchtower? How do yo
Kelly Felkins wrote:> I just created a new rails project "test". > > I then did "switchtower --apply-to ~/user/test test" > > I then moved into test and tried "rake restart" and got: > > kfelkins@lurch:~/user/test$ rake restart > (in /home/kfelkins/user/test) > rake aborted! > Don''t know how to build task ''restart'' > > I see restart in deploy. Can restart be invoked from the command line? > > -Kellyhow about: rake remote_exec ACTION=restart ? -- Agnieszka Figiel -- Posted via http://www.ruby-forum.com/.
Jack Baty
2006-Feb-22 23:39 UTC
[Rails] is there really a restart task in switchtower? How do you invoke it?
On 2/22/06, Kelly Felkins <railsinator@gmail.com> wrote:> > kfelkins@lurch:~/user/test$ rake restart > (in /home/kfelkins/user/test) > rake aborted! > Don''t know how to build task ''restart'' > > I see restart in deploy. Can restart be invoked from the command line? >I think you may need the following instead... $ rake remote_exec ACTION=restart I''m always forgetting that. -- Jack Baty Fusionary Media - http://www.fusionary.com
Kelly Felkins
2006-Feb-23 02:02 UTC
[Rails] is there really a restart task in switchtower? How do you invoke it?
Thank you. -Kelly On 2/22/06, Jack Baty <jbaty@fusionary.com> wrote:> > On 2/22/06, Kelly Felkins <railsinator@gmail.com> wrote: > > > > kfelkins@lurch:~/user/test$ rake restart > > (in /home/kfelkins/user/test) > > rake aborted! > > Don''t know how to build task ''restart'' > > > > I see restart in deploy. Can restart be invoked from the command line? > > > > I think you may need the following instead... > > $ rake remote_exec ACTION=restart > > I''m always forgetting that. > > > > -- > Jack Baty > Fusionary Media - http://www.fusionary.com > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060223/747af08c/attachment.html