Is there really a restart task in switchtower? How do you in

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

Kelly F. 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?

-Kelly

how about:
rake remote_exec ACTION=restart
?


Agnieszka F.

Thank you.

-Kelly

On 2/22/06, Kelly F. [email protected] 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