we need more information here. what's the error and which part of
your script is failing?
On Dec 1, 4:21 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I'm using cap to deploy PHP applications and things were working
> okay...until I updated to the latest version. Here's the deploy.rb
> file I'm using:
>
> set :application, "app"
> set :repository, "svn+ssh://[EMAIL PROTECTED]/opt/repos/zzz.com"
> role :web, "aaa.xxx.com"
> set :deploy_to, "/var/www/zzz.com"
> set :checkout, "export"
> set :user, "chris"
> set :password, "*****"
>
> task :deploy do
> run "sudo cp -r #{deploy_to} #{deploy_to}-old" do |ch, stream, out|
> ch.send_data "#{password}\n" if out =~ /Password:/
> end
>
> run "sudo svn #{checkout} #{repository} #{deploy_to}" do |ch, stream, out|
> ch.send_data "#{password}\n" if out =~ /password:/
> end
> end
>
> task :rollback do
> run "sudo mv -r #{deploy_to}-old #{deploy_to}" do |ch, steam, out|
> ch.send_data "#{password}\n" if out =~ /Password:/
> end
> end
>
> I was hoping someone here could point out to me why this might be
> failing now that I've upgraded...
>
> --
> Chris Hartjes
>
> My motto for 2007: "Just build it, damnit!"
>
> @TheKeyboard -http://www.littlehart.net/atthekeyboard
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---