Capistrano 배포에 상당히 이상한 문제가 있습니다. 제 동료의 컴퓨터는 잘 작동하지만 광산은 좋은 게임을 거부합니다.ssh-agent, capistrano 및 github에 전달하는 키
cygwin을 사용하고 있으며 외부 루비 설치가 있습니다.
우리 서버의 루트 사용자를 사용하고 있습니다. ./ssh/authorized_keys2에 ssh-keys를 추가 했으므로 서버에 ssh를 배포하고 ssh 할 수 있습니다.
서브 모듈을 원격 캐시에 복제하려고 할 때 문제가 분명해집니다. 나는 항상 publickey가 거부 된 에러를 얻는다. 다음은
는 배포 파일 : 나는 충분한 정보를 포함하지 않습니다 실현# What is the name of the local application?
set :application, "domain"
# What user is connecting to the remote server?
set :user, "root"
# Where is the local repository?
set :repository, "file:///blah.git"
set :local_repository, " ssh://blah.git"
# What is the production server domain?
role :web, "vserver"
# What remote directory hosts the production website?
set :deploy_to, "/home/<user>/public_html/"
# Is sudo required to manipulate files on the remote server?
set :use_sudo, false
# What version control solution does the project use?
set :scm, :git
set :branch, 'master'
# How are the project files being transferred?
set :deploy_via, :remote_cache
# Maintain a local repository cache. Speeds up the copy process.
set :copy_cache, true
# Ignore any local files?
set :copy_exclude, %w(.git,deployment,.project)
#enabled submodules
set :git_enable_submodules, 1
set :group_writable, false
set :ssh_options, {:forward_agent => true}
, 단지 나의 실패하고 동료가 완벽하게 작동 왜 천천히 나를 미친 운전으로 나를 채우는 필요 격차 알려 . 어떤 도움이든지 여기저기서 다른 여러 가지 소식을 하루 종일 보았을 뿐이므로 아무 것도이 문제를 분류하지 못했습니다.