Hi,

I am trying to deploy a Rails app from another machine than I did before
and get permission denied errors. Everything the app needs is on the
same root server.

config/deploy.rb

------8<---------------------------
set :git_enable_submodules, 1
set :application, 'kunsthof'
set :repository,  '[email protected]:/home/user/git/app.git'
set :scm, :git
set :use_sudo, false

if ENV['DEPLOY'] == 'PRODUCTION'
  set :deploy_to, '/srv/www/app'
else
  set :deploy_to, '/srv/www/app_staging'
end

server 'myserver.tld', :app, :web, :db, :primary => true
------8<---------------------------


Following the server's logfile I get the permission denied when
capistrano tries to log in from the server into the repository on that
same server via ssh (by using a password).
As I said, I don't get that error deploying from my original development
machine.

How is that possible? Whats the difference?

Another question is, if it is possible to say capistrano that it is
pathetic to log in on the same machine via ssh when it just could take
the repo from it's path.
-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to