Capistrano Deployment on Dreamhost

I’m having trouble getting Capistrano to work on Dreamhost. I seem to be
having problems logging in, but I can ssh fine to my dreamhost server
from this machine. This doesn’t seem like a dreamhost specific thing to
me, but I’m kind of stuck.

Here’s the exception I get from “cap setup”:
`initialize’: jschementi (Net::SSH::AuthenticationFailed)

And Here’s the meat of my config/deploy.rb file:
set :application, “starline”
set :repository, “

role :web, “
role :app, “starline.schementec”
role :db, “”, :primary => true

set :user, “jschementi”
set :deploy_to, “/home/#{user}/”

set :use_sudo, false
set :checkout, “export”

Let me know if anyone has any insite. Thanks.

The first step is generally to configure ssh and authorized_keys so
that ssh login doesn’t require a password (or a username, which is
where your’s seems to be failing). See <
kbase/index.cgi?area=138>. Then, here’s my deploy.rb that works on

set :user, ‘dankohn’
set :application, “
set :repository, “
set :use_sudo, false
set :checkout, “export”

role :web, application
role :app, application
role :db, application, :primary => true

set :deploy_to, “/home/#{user}/#{application}”

desc “Restart the FCGI processes on the app server as a regular user.”
task :restart, :roles => :app do
run “killall -9 dispatch.fcgi >/dev/null 2>&1 || true”

        - dan

Dan K. mailto:[email protected] tel:+1-415-233-1000

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs