Topic: Capistrano Deployment problems with DH using casper recipie
Could anyone have a quick scan through my deployment file?
I've been trying to deploy an application of mine on to my dreamhost account; I'm pretty sure I have everything set up correctly, but i'm still getting an error!
I've been following and using modified scripts from this website
However, I'm using a different location to the application's location for my database.
I've modified deploy.rb accordingly, so it looks like the following
set :user, 'daffy'
set :application, "fyp.mydomain.com"
set :repository, "http://fyp.mydomain.com/repos/meals/trunk"
set :svn_username, "username"
role :web, application
role :app, application
role :db, "mysql.mydomain.com", :primary => true
I removed the rails engine part in environment.rb because my application doesn't use them.
the output, when running 'rake remote:exec ACTION=setup' on my local machine, looks like the following:
C:0:Warning: require_gem is obsolete. Use gem instead.
Capistrano/Rake integration is deprecated.
Please invoke the 'cap' command directly: `cap setup'
* executing task setup
* executing "umask 02 &&\n mkdir -p /home/daffy/fyp.mydomain.com /home/daffy/fyp.mydomain.com/releases /home/daffy/fyp.mydomain.com/shared /home/daffy/fyp.mydomain.com/shared/system &&\n
mkdir -p /home/daffy/fyp.mydomain.com/shared/log &&\n mkdir -p /home/daffy/fyp.mydomain.com/shared/pids"
servers: ["fyp.mydomain.com", "mysql.mydomain.com"]
c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.0.10/lib/net/ssh/session.rb:132:in `initialize': daffy (Net::SSH::Authen ticationFailed)
from c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.0.10/lib/net/ssh.rb:47:in `new'
I'm not sure what the big 'executing' bit in that means or where it comes from, can anyone enlighten me?
thanks in advance!,
Last edited by daffy_dowden (2007-03-31 09:21:27)