2015-05-14 52 views
0

當我使用Linux的一切部署的工作,但是當我從Mac OS部署,我有:軌capistano MAC OS部署錯誤

> cap production deploy 
DEBUG [1330f96c] Running /usr/bin/env [ -d ~/.rvm ] on IP Adress 
DEBUG [1330f96c] Command: [ -d ~/.rvm ] 
Text will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text. 
[email protected]_adress's password: 

當我寫的密碼,我得到

> DEBUG [de2b7c18] Finished in 4.376 seconds with exit status 0 (successful). 
DEBUG [1ca89b99] Running ~/.rvm/bin/rvm version on ip address 
DEBUG [1ca89b99] Command: ~/.rvm/bin/rvm version 
DEBUG [1ca89b99] rvm 1.26.10 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/] 
DEBUG [1ca89b99]  
DEBUG [1ca89b99] Finished in 1.130 seconds with exit status 0 (successful). 
rvm 1.26.10 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/] 
DEBUG [1c973067] Running ~/.rvm/bin/rvm current on ip address 
DEBUG [1c973067] Command: ~/.rvm/bin/rvm current 
DEBUG [1c973067] ruby-2.2.0 
DEBUG [1c973067]  
DEBUG [1c973067] Finished in 2.110 seconds with exit status 0 (successful). 
ruby-2.2.0 
DEBUG [848d3c3e] Running ~/.rvm/bin/rvm default do ruby --version on ip address 
DEBUG [848d3c3e] Command: ~/.rvm/bin/rvm default do ruby --version 
DEBUG [848d3c3e] ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux] 
DEBUG [848d3c3e]  
DEBUG [848d3c3e] Finished in 1.050 seconds with exit status 0 (successful). 
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux] 
INFO [8dbfa807] Running /usr/bin/env mkdir -p /tmp/project/ on ip address 
DEBUG [8dbfa807] Command: /usr/bin/env mkdir -p /tmp/project/ 
INFO [8dbfa807] Finished in 0.381 seconds with exit status 0 (successful). 
DEBUG Uploading /tmp/project/git-ssh.sh 0.0% 
INFO Uploading /tmp/project/git-ssh.sh 100.0% 
INFO [0f9c9d2a] Running /usr/bin/env chmod +x /tmp/project/git-ssh.sh on ip address 
DEBUG [0f9c9d2a] Command: /usr/bin/env chmod +x /tmp/project/git-ssh.sh 
INFO [0f9c9d2a] Finished in 1.417 seconds with exit status 0 (successful). 
INFO [5dfc2373] Running /usr/bin/env git ls-remote --heads [email protected]:nick_name/project.git on ip address 
DEBUG [5dfc2373] Command: (GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/project/git-ssh.sh /usr/bin/env git ls-remote --heads [email protected]:nick_name/project.git) 
DEBUG [5dfc2373] Enter passphrase for key '/home/nick_name/.ssh/id_rsa': 

我安裝寶石HighLine。

請幫我解決這個問題嗎?

+0

它要求您爲nick_name的公鑰使用密碼。 Git使用它來識別何時連接到'bitbucket.org'。 – max

回答

0

您可以嘗試使用沒有密碼的密鑰,或者確保如果您的用戶密碼和密鑰的密碼短語與您使用的密碼不同。第一個提示是針對您的用戶帳戶user_name @ ip_adress,第二個針對分配給/home/nick_name/.ssh/id_rsa的密碼。

+0

我在vps中更改id_rsa的通行證。然後在DEBUG [5dfc2373]輸入密鑰'/home/nick_name/.ssh/id_rsa'輸入密碼:但沒有任何反應( – 4itosik

+1

),然後在密碼中輸入密碼,並且所有的工作都完成!Th'x! – 4itosik