Hello everybody,
I’m new to Capistrano and SVN and – unfortunately – I’m using Windows
7 as my development environment.
I followed the instructions on
http://www.capify.org/index.php/From_The_Beginning
to setup Capistrano. I have already set up a svn repository which
works correctly. I verified this with a check out from an Ubuntu VM.
And of course I can login to the (shared) webserver with putty.
Additionally I can say that I have installed the CollabNet subversion
client.
Here you can find the deploy.rb file (data removed):
set :application, "remeeting"
set :deploy_to, "<path>"
set :repository, "svn+ssh://<name>@<app>/<path>/svn"
set :scm, :subversion
role :web, "<app>" # Your HTTP server, Apache/
etc
role :app, "<app>" # This may be the same as
your `Web` server
role :db, "<app>", :primary => true # This is where Rails migrations
will run
set :user, "<user>"
set :password, "<password>"
set :use_sudo, false
When I enter cap deploy:check everything seems to work fine:
* executing `deploy:check'
* executing "test -d #{deploy_to}/releases"
servers: ["#{app}"]
[#{app}] executing command
command finished
* executing "test -w #{deploy_to}"
servers: ["#{app}"]
[#{app}] executing command
command finished
* executing "test -w #{deploy_to}/releases"
servers: ["#{app}"]
[#{app}] executing command
command finished
* executing "which svn"
servers: ["#{app}"]
[#{app}] executing command
command finished
You appear to have all necessary dependencies installed
During the next step I entered cap deploy:update which led to the
following error message:
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
executing locally: "svn info svn+ssh://#{us...@#{app}/#{deploy_to}/
svn -rHEAD"
svn: Can't create tunnel: Falscher Parameter.
*** [deploy:update_code] rolling back
* executing "rm -rf /#{deploy_to}/releases/2010090519390
0; true"
servers: ["#{app}"]
[#{app}] executing command
command finished
Command svn info svn+ssh://#{us...@#{app}#{deploy_to}/svn -rHEAD
returned status code pid 5228 exit 1
I verified that the commend svn info svn+ssh://#{us...@#{app}
#{deploy_to}/svn that causes the error. Interestingly I executed the
same command from my Ubuntu VM and I found out that after a prompt for
the password for the SVN repository the requested information was
displayed. Therefore the problem seems to be linked to my Windows.
Ruby: 1.8.7 and 1.9.1 installed, Capistrano 2.5.19, Rails 2.3.5
After solving some other problems this one seems to be harder, because
I cannot find a similar post in the web. So I hope that someone can
help in any way.
Thanks in advance!
Marc
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/capistrano?hl=en