I’m having troubles setting up Capistrano on Dreamhost … here’s the
EXACT steps I took, almost following the guide from nubyonrails.com:
On server:
cd svn/
mkdir rails.bechbox.dk
svnadmin create ~/svn/rails.bechbox.dk
Local:
~/rails megl$ ls
blog portfolio rails.bechbox.dk
rails.ubtesten.info tags
~/rails megl$ svn import rails.bechbox.dk
svn+ssh://[email protected]/home/megl/svn/rails.bechbox.dk -m “import”
and then svn adds all the files in rails.bechbox.dk
~/rails megl$ svn co
svn+ssh://[email protected]/home/megl/svn/rails.bechbox.dk
rails.bechbox.dk
svn: Failed to add directory ‘rails.bechbox.dk/test’: object of the
same name already exists
~/rails megl$ mv rails.bechbox.dk rails.bechbox.dk_presvn
~/rails megl$ svn co
svn+ssh://[email protected]/home/megl/svn/rails.bechbox.dk
rails.bechbox.dk
~/rails/rails.bechbox.dk megl$ cap -A .
exists config
create config/deploy.rb
exists lib/tasks
create lib/tasks/capistrano.rake
Loaded suite /usr/local/bin/cap
Started
Finished in 0.000458 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
And then I change the deploy.rb to the one from nubyonrails.com and
make the necessary changes in there
So far so good! But now it goes haywire:
~/rails/rails.bechbox.dk megl$ rake remote:exec ACTION=setup
(in /Users/megl/rails/rails.bechbox.dk)
loading configuration
/usr/local/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/recipes/standard.rb
loading configuration ./config/deploy.rb
- executing task setup
- executing “mkdir -p -m 775 /home/megl/rails.bechbox.dk/releases
/home/megl/rails.bechbox.dk/shared/system &&\n mkdir -p -m 777
/home/megl/rails.bechbox.dk/shared/log &&\n mkdir -p -m 777
/home/megl/rails.bechbox.dk/shared/pids”
servers: [“rails.bechbox.dk”]
rake aborted!
getaddrinfo: No address associated with nodename
(See full trace by running task with --trace)
I’ve done the exact same thing with another project on the same server
a while ago, and that went fine. Any ideas what I might be doing wrong
here?
Thanks in advance!!
Mikkel
I’ll wait a few hours