I just want to say that after finally figuring out how to make Capistrano work, it''s unbelievably cool. I kept hearing people in the Rails community freak out over it, but I had a heck of a hard time making it work - I think in part because I''m trying to deploy from windows, but also because I''m a big unix noob. For any of you out there struggling with Capistrano, keep at it! The payoff is huge once you can successfully deploy and rollback your app. I''m going to try to have a full tutorial up on RubyNoob.com for running Cap in Windows either late tonight PST or sometime tommorow. I''m almost done with it. -- Terry (TAD) Donaghe http://www.tadspot.com http://www.rubynoob.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Has anyone gotten capistrano to work successfully with a nonstandard svn+ssh port? One way I see of doing this is setting the SVN_SSH environment variable, but is there a capistrano way of doing this? -- Yan http://planyp.us http://skwpspace.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Sep 21, 2006, at 12:47 PM, Yan Pritzker wrote:> Has anyone gotten capistrano to work successfully with a nonstandard > svn+ssh port? One way I see of doing this is setting the SVN_SSH > environment variable, but is there a capistrano way of doing this?I can think of one potential way to do this, and one sure thing: Potential: svn+ssh://use@host:port/application/trunk (Reasonably) Sure Thing: In your ~/.ssh/config file, add an entry like this: Host yourhost Hostname 1.2.3.4 Port 6000 HostKeyAlias yourhost I just discovered ~/.ssh/config, and it''s very cool! You can add a User entry, so that you don''t have to specify which user for each and every host... Host yourhost Hostname 1.2.3.4 Port 6000 HostKeyAlias yourhost User youruser With this entry, when you type in: ssh yourhost It will actually do: ssh -p 6000 youruser@1.2.3.4 -- -- Tom Mornini --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Yeah I know both of these methods. The first doesn''t work (for some reason svn just really doesn''t care for ports embedded in the url). The second might work, have to try, but I was hoping for something that could be reasonably included in the cap config itself. Since ~/.ssh/config is very platform dependent and I haev developers even (gasp) working on windows boxes, and ideally we wanted to be able to launch the cap action from any dev box. Yan On Thu, 21 Sep 2006 15:23:05 -0500, Tom Mornini <tmornini-W/9V78bTXriB+jHODAdFcQ@public.gmane.org> wrote:> Potential: > svn+ssh://use@host:port/application/trunk > > (Reasonably) Sure Thing: > > In your ~/.ssh/config file, add an entry like this: > > Host yourhost > Hostname 1.2.3.4 > Port 6000 > HostKeyAlias yourhost--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On Sep 21, 2006, at 1:32 PM, Yan Pritzker wrote:> > Yeah I know both of these methods. The first doesn''t work (for some > reason > svn just really doesn''t care for ports embedded in the url). The > second > might work, have to try, but I was hoping for something that could be > reasonably included in the cap config itself. Since ~/.ssh/config > is very > platform dependent and I haev developers even (gasp) working on > windows > boxes, and ideally we wanted to be able to launch the cap action > from any > dev box. > > YanYou can set it right in your deploy.rb like this: ssh_options[:port] = 2345 Cheers- -Ezra --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ezra, I tried this but it doesn''t seem to take effect for svn...it connects to my ssh on port 2022 but then says ssh: connect to host [.../ port 22: Connection refused svn: Connection closed unexpectedly -- Yan http://planyp.us> > You can set it right in your deploy.rb like this: > > ssh_options[:port] = 2345 > > > Cheers- > -Ezra--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hi!> I tried this but it doesn''t seem to take effect for svn...you should get more answers if you ask those questions on the new capistrano google group: http://groups.google.com/group/capistrano (btw thanks Jamie for creating this, you *are* creating passionate users ;) cheers Thibaut --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---