Hmmm let me see if I understand. I have svn installed (well think so)
and I use turtoise application to deal with the server repository.
On my computer, the application is in "C:\InstantRails-2.0\rails_apps
\CondoWeb\" and on the server "/home/condow09/svn/CondoWeb". You think
it could be the problem? My deploy.rb precise where to get and where
to deploy the site so I thought it was working well that way. On the
other and, the deploy isn't checking anything on my local computer or
is it? I thought that it took the files on the repository (on the
server so) and deployed them in the target path (which, obviously, is
on the server too). Am I wrong? What should I do to fix it?

Thanks a lot for your help ^^

On 6 abr, 02:26, Lee Hambley <[email protected]> wrote:
> Olivier,
>  Do you have svn installed (and in the Path) on your local machine, at first
> glance that seems to be what the error is.
>
> - Lee
>
> 2009/4/6 CiriusMex <[email protected]>
>
>
>
>
>
> > Hi guys, I got a problem with capistrano configuration.
> > Here comes my deploy.rb file:
>
> > set :application, "CondoWeb"
> > set :repository,  "svn+ssh://[email protected]/home/condow09/svn/
> > CondoWeb"
>
> > # If you aren't deploying to /u/apps/#{application} on the target
> > # servers (which is the default), you can specify the actual location
> > # via the :deploy_to variable:
> > set :deploy_to, "/home/condow09/etc/rails_apps/CondoWeb"
>
> > set :use_sudo, false
>
> > set :checkout, "export"
>
> > # If you aren't using Subversion to manage your source code, specify
> > # your SCM below:
> > # set :scm, :subversion
>
> > role :app, "www.condow.com"
> > role :web, "www.condow.com"
> > role :db,  "www.condow.com", :primary => true
>
> > # SSH and conection configuration
> > ssh_options[:port] = 7822
> > set :user, "condow09"
>
> > desc "Restart the app server"
> > task :restart, :roles => :app do
> >  send(run_method, "")
> >  #send(run_method, "cd #{current_path} && mongrel_rails restart")
> > end
>
> > desc "Stop the app server"
> > task :stop_app, :roles => :app do
> >  send(run_method, "")
> >  #send(run_method, "cd #{current_path} && mongrel_rails stop")
> > end
>
> > desc "Start the app server"
> > task :start_app, :roles => :app do
> >  send(run_method, "")
> >  #send(run_method, "cd #{current_path} && mongrel_rails start -d -p
> > #
> > {app_port} -e #{app_env} < /dev/null >& /dev/null")
> > end
>
> > The repository works great as I configured and used successfully SVN.
> > But when I do a cap deploy of my website here is what I get:
>
> > C:\InstantRails-2.0\rails_apps\CondoWeb>cap deploy
> >  * executing `deploy'
> >  * executing `deploy:update'
> >  ** transaction: start
> >  * executing `deploy:update_code'
> >    executing locally: "svn info svn+ssh://[email protected]/home/
> > condow09/svn
> > /CondoWeb  -rHEAD"
> > svn: Can't create tunnel: The system cannot find the file specified.
> > *** [deploy:update_code] rolling back
> >  * executing "rm -rf /home/condow09/etc/rails_apps/CondoWeb/
> > releases/
> > 2009040217
> > 1940; true"
> >    servers: ["www.condow.com"]
> > Password:
> >    [www.condow.com] executing command
> >    command finished
> > C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
> > capistrano/
> > recipes/deploy/scm/subversion.rb:58:in `query_revision': tried to run
> > `svn info
> > svn+ssh://[email protected]/home/condow09/svn/CondoWeb  -rHEAD' and
> > got unexpe
> > cted result "" (RuntimeError)
> >        from C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/
> > capistrano-2.5.5/li
> > b/capistrano/recipes/deploy/scm/base.rb:35:in `send'
> >        from C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/
> > capistrano-2.5.5/li
> > b/capistrano/recipes/deploy/scm/base.rb:35:in `method_missing'
> >        from C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/
> > capistrano-2.5.5/li
> > b/capistrano/recipes/deploy/scm/base.rb:63:in `local'
> >        from C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/
> > capistrano-2.5.5/li
> > b/capistrano/recipes/deploy/scm/base.rb:35:in `method_missing'
> >        from C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/
> > capistrano-2.5.5/li
> > b/capistrano/recipes/deploy.rb:37:in `load'
> >        from C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/
> > capistrano-2.5.5/li
> > b/capistrano/configuration/variables.rb:87:in `call'
> >        from C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/
> > capistrano-2.5.5/li
> > b/capistrano/configuration/variables.rb:87:in `fetch'
> >        from C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/
> > capistrano-2.5.5/li
> > b/capistrano/configuration/variables.rb:110:in `protect'
> >         ... 38 levels...
> >        from C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/
> > capistrano-2.5.5/li
> > b/capistrano/cli/execute.rb:14:in `execute'
> >        from C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/
> > capistrano-2.5.5/bi
> > n/cap:4
> >        from C:/InstantRails-2.0/ruby/bin/cap:19:in `load'
> >        from C:/InstantRails-2.0/ruby/bin/cap:19
>
> > Any idea??
>
> > Olivier.- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to