I just set up a plan to host my projects externally so I am attempting
to learn deployment through capistrano.
I can currently ssh into root-mXuENlnwU4lWk0Htik3J/w@public.gmane.org from my
development box
without entering any password/passphrase (using an ssh agent). I have
also enabled this on the server itself so that it can check out
svn+ssh//myserver.com/var/... without entering anything.
Anyway, I cannot seem to set up to deploy
$ rake remote:exec ACTION=setup
loading configuration
/opt/local/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb
loading configuration ./config/deploy.rb
* executing task setup
* executing "mkdir -p -m 775 /u/apps/rails_test/releases
/u/apps/rails_test/shared/system &&\n mkdir -p -m 777
/u/apps/rails_test/shared/log"
servers: ["myserver.com"]
*** [myserver.com] could not open channel
command finished
rake aborted!
command "mkdir -p -m 775 /u/apps/rails_test/releases
/u/apps/rails_test/shared/system &&\\\n mkdir -p -m 777
/u/apps/rails_test/shared/log" failed on myserver.com
My deploy.rb is:
set :application, "rails_test"
set :repository,
"svn+ssh://myserver.com/var/svn/rails-test/development/TestSite"
server = "myserver.com"
role :user, "root"
role :web, server
role :app, server
role :db, server
Any ideas as to what I am doing incorrectly? Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---