当我尝试使用Capistrano部署我的Ruby on Rails应用程序时,我收到以下错误:
cap deploy
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
executing locally: "svn info https://digitalsleep.svn.beanstalkapp.com/centralbank/ -rHEAD"
svn: /usr/local/lib/libldap_r-2.4.so.2: no version information available (required by /usr/lib/libaprutil-1.so.0)
svn: /usr/local/lib/libldap_r-2.4.so.2: no version information available (required by /usr/lib/libpq.so.5)
* executing "svn checkout -q -r66 https://digitalsleep.svn.beanstalkapp.com/centralbank/ /home/monkeyg/centralbank/releases/20091203102124 && (echo 66 > /home/monkeyg/centralbank/releases/20091203102124/REVISION)"
servers: ["67.23.24.230"]
[67.23.24.230] executing command
** [67.23.24.230 :: err] Error validating server certificate for 'https://digitalsleep.svn.beanstalkapp.com:443':
** - The certificate is not issued by a trusted authority. Use the
** fingerprint to validate the certificate manually!
** Certificate information:
** - Hostname: *.svn.beanstalkapp.com
** - Valid: from Thu, 05 Mar 2009 15:23:20 GMT until Wed, 14 Apr 2010 03:34:53 GMT
** - Issuer: 07969287, http://certificates.godaddy.com/repository, GoDaddy.com, Inc., Scottsdale, Arizona, US
** - Fingerprint: b0:3b:ea:3a:72:2c:87:30:75:d3:7d:2b:01:4b:ec:d6:45:38:8f:25
** (R)eject, accept (t)emporarily or accept (p)ermanently?
** [67.23.24.230 :: err] Authentication realm: <https://digitalsleep.svn.beanstalkapp.com:443> SVN
** Password for 'root':
** [67.23.24.230 :: err] Authentication realm: <https://digitalsleep.svn.beanstalkapp.com:443> SVN
** Username:
有没有人对如何解决这个问题有任何想法?
答案 0 :(得分:3)
尝试从命令行运行:
svn info https://digitalsleep.svn.beanstalkapp.com/centralbank/ -rHEAD
然后尝试从capistrano运行它。
答案 1 :(得分:1)
您正在尝试使用SSL进行连接。你以前从未在那台主机上做过这件事。
您必须先进行人工结帐并永久接受SSL证书 然后您的主机将能够检出您的svn存储库。