2013-03-01 59 views
1

我構建了一個rails應用程序,我目前正在將它從我的windows系統部署到vexxhost(託管公司)。我在github上有一個倉庫,並且我遵循了部署我的rails應用程序的所有步驟。一切都很好,直到我輸入「cap deploy:cold」,然後顯示以下錯誤。Capistrano「沒有這樣的文件或目錄 - git ls-remote [email protected]」

enter image description here

我deploy.rb文件

require 'bundler/capistrano' 
require 'capistrano' 
require 'capistrano-vexxhost' 


    # Account Settings 

    ssh_options[:forward_agent] = true 

    set :user, "innocent" 
    set :password, "2Q0bNx85it" 
    set :domain, "legoads.com" 
    set :mount_path,"/home/innocent/public_html" 
    set :application,"legoads" 
    set :scm, :git 
    set :repository, "[email protected]:innoc/Legoads.git" 
    default_run_options[:pty] = true 
+1

你在服務器上安裝了git嗎? – aromero 2013-03-01 15:25:21

回答

1

從錯誤似乎混帳不安裝在遠程服務器上。安裝git並重試,或者更好的做一個capistrano配方來設置你的服務器,其中包括安裝git。

相關問題