I''ve been trying to configure SwitchTower to perform deployment of my app to a Dreamhost server. I can run rake remote_exec ACTION=setup just fine but rake deploy keeps giving me errors when its checking out the latest revision from the Subversion repository on the same Dreamhost server. It displays errors like this: loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.1 chtower/recipes/standard.rb loading configuration ./config/deploy.rb executing task deploy transaction: start executing task update_code querying latest revision... svn: Can''t create tunnel: The system cannot find the file specified. svn: Can''t create tunnel: The system cannot find the file specified. svn: Can''t create tunnel: The system cannot find the file specified. svn: Can''t create tunnel: The system cannot find the file specified. svn: Can''t create tunnel: The system cannot find the file specified. svn: Can''t create tunnel: The system cannot find the file specified. svn: Error resolving case of ''svn+ssh:'' svn: Can''t create tunnel: The system cannot find the file specified. svn: Can''t create tunnel: The system cannot find the file specified. svn: Can''t create tunnel: The system cannot find the file specified. svn: Can''t create tunnel: The system cannot find the file specified. svn: Can''t create tunnel: The system cannot find the file specified. svn: Can''t create tunnel: The system cannot find the file specified. svn: Can''t create tunnel: The system cannot find the file specified. Does anyone have any idea what''s wrong? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060104/4c6bcde2/attachment.html
On Jan 3, 2006, at 8:46 PM, Douglas Tan wrote:> I''ve been trying to configure SwitchTower to perform deployment of > my app to a Dreamhost server. I can run rake remote_exec > ACTION=setup just fine but rake deploy keeps giving me errors when > its checking out the latest revision from the Subversion > repository on the same Dreamhost server. It displays errors like > this: > > loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.1 > chtower/recipes/standard.rb > loading configuration ./config/deploy.rb > executing task deploy > transaction: start > executing task update_code > querying latest revision... > svn: Can''t create tunnel: The system cannot find the file specified. > svn: Can''t create tunnel: The system cannot find the file specified. > svn: Can''t create tunnel: The system cannot find the file specified. > svn: Can''t create tunnel: The system cannot find the file specified. > svn: Can''t create tunnel: The system cannot find the file specified. > svn: Can''t create tunnel: The system cannot find the file specified. > svn: Error resolving case of ''svn+ssh:'' > svn: Can''t create tunnel: The system cannot find the file specified. > svn: Can''t create tunnel: The system cannot find the file specified. > svn: Can''t create tunnel: The system cannot find the file specified. > svn: Can''t create tunnel: The system cannot find the file specified. > svn: Can''t create tunnel: The system cannot find the file specified. > svn: Can''t create tunnel: The system cannot find the file specified. > svn: Can''t create tunnel: The system cannot find the file specified. > > Does anyone have any idea what''s wrong?I don''t have much experience with either Ruby or Rails on Windows, but it looks to me like the problem lies more with either subversion or SSH. What happens if you try to access your repo directly from the windows command-line: svn co svn+ssh://... ? Do you get the same error? - Jamis
Hey Jamis, I managed to solve the problem. It turns out I needed to specify a ssh agent for SVN. So I used cygwin''s ssh.exe and that solved the problem. On 1/4/06, Jamis Buck <jamis@37signals.com> wrote:> > On Jan 3, 2006, at 8:46 PM, Douglas Tan wrote: > > > I''ve been trying to configure SwitchTower to perform deployment of > > my app to a Dreamhost server. I can run rake remote_exec > > ACTION=setup just fine but rake deploy keeps giving me errors when > > its checking out the latest revision from the Subversion > > repository on the same Dreamhost server. It displays errors like > > this: > > > > loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.1 > > chtower/recipes/standard.rb > > loading configuration ./config/deploy.rb > > executing task deploy > > transaction: start > > executing task update_code > > querying latest revision... > > svn: Can''t create tunnel: The system cannot find the file specified. > > svn: Can''t create tunnel: The system cannot find the file specified. > > svn: Can''t create tunnel: The system cannot find the file specified. > > svn: Can''t create tunnel: The system cannot find the file specified. > > svn: Can''t create tunnel: The system cannot find the file specified. > > svn: Can''t create tunnel: The system cannot find the file specified. > > svn: Error resolving case of ''svn+ssh:'' > > svn: Can''t create tunnel: The system cannot find the file specified. > > svn: Can''t create tunnel: The system cannot find the file specified. > > svn: Can''t create tunnel: The system cannot find the file specified. > > svn: Can''t create tunnel: The system cannot find the file specified. > > svn: Can''t create tunnel: The system cannot find the file specified. > > svn: Can''t create tunnel: The system cannot find the file specified. > > svn: Can''t create tunnel: The system cannot find the file specified. > > > > Does anyone have any idea what''s wrong? > > I don''t have much experience with either Ruby or Rails on Windows, > but it looks to me like the problem lies more with either subversion > or SSH. What happens if you try to access your repo directly from the > windows command-line: svn co svn+ssh://... ? Do you get the same error? > > - Jamis > _______________________________________________ > 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/20060104/ecd402ca/attachment.html