|
Deployment script not working after upgrading to Cap 2.1: msg#00188lang.ruby.capistrano.general
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://chris-yNUH49qlcxRBDgjK7y7TUQ@xxxxxxxxxxxxxxxx/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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: deployment error: 00188, White Wizzard |
|---|---|
| Next by Date: | deployment error: no passwd entry for app!: 00188, me |
| Previous by Thread: | deployment errori: 00188, Erwin |
| Next by Thread: | deployment error: no passwd entry for app!: 00188, me |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |