Forum: Ruby on Rails is there really a restart task in switchtower? How do you in

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6559f9b9607a89074ea5e238d31ffbc2?d=identicon&s=25 Kelly Felkins (Guest)
on 2006-02-22 21:47
(Received via mailing list)
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
5b132632f47e8c7e2a83157cef4649c8?d=identicon&s=25 Agnieszka Figiel (agnessa)
on 2006-02-22 22:31
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?
>
> -Kelly

how about:
rake remote_exec ACTION=restart
?

--
Agnieszka Figiel
251e19913d21aa40a99ec00ed18d202d?d=identicon&s=25 Jack Baty (Guest)
on 2006-02-23 00:40
(Received via mailing list)
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
6559f9b9607a89074ea5e238d31ffbc2?d=identicon&s=25 Kelly Felkins (Guest)
on 2006-02-23 03:05
(Received via mailing list)
Thank you.

-Kelly
This topic is locked and can not be replied to.