The ''run'' method runs commands on the different servers you deploy to. Is their a command that runs commands on your personal box? I want to run ''curl'' after I deploy the website. Any suggestions? Thanks :-) -- John Kopanas john-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org http://www.kopanas.com http://www.cusec.net http://www.soen.info --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Vishnu Gopal
2006-Oct-03 20:25 UTC
Re: Running Commands on Local Machine In Capistrano Script
You can use simple ruby inside your cap recipe. system, IO.popen, etc come to mind. Even backticks work. Vish On 10/4/06, John Kopanas <kopanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > The ''run'' method runs commands on the different servers you deploy to. > Is their a command that runs commands on your personal box? I want > to run ''curl'' after I deploy the website. Any suggestions? > > Thanks :-) > > -- > John Kopanas > john-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org > > http://www.kopanas.com > http://www.cusec.net > http://www.soen.info > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
John Kopanas
2006-Oct-03 21:55 UTC
Re: Running Commands on Local Machine In Capistrano Script
Used system()... worked perfectly. Thanks :-) On 10/3/06, Vishnu Gopal <g.vishnu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> You can use simple ruby inside your cap recipe. system, IO.popen, etc come > to mind. Even backticks work. > > Vish > > > On 10/4/06, John Kopanas < kopanas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > The ''run'' method runs commands on the different servers you deploy to. > > Is their a command that runs commands on your personal box? I want > > to run ''curl'' after I deploy the website. Any suggestions? > > > > Thanks :-) > > > > -- > > John Kopanas > > john-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org > > > > http://www.kopanas.com > > http://www.cusec.net > > http://www.soen.info > > > > > > > > > > >-- John Kopanas john-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org http://www.kopanas.com http://www.cusec.net http://www.soen.info --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---