2011-11-11 19 views
2

これは100回尋ねられたと確信していますが、グーグルやSE上で受け入れ可能な答えを指摘したものは何も見つかりませんでした。私はローカルのWindows 7マシンでdevを実行していて、Capistrano 2.9.0がインストールされ、Capifony(昨日ダウンロードされた)と一緒にgit 1.7.7.1を持っています。私はgithubのからデプロイを行うにしようとすると、私は次のエラーを取得する:ここでCapistrano Capifony Github Deploy Windows

Command git ls-remote [email protected]:gituser/MyRepo.git master returned status code pid 6572 exit 1

は私の現在のdeploy.rbです:私はcap deployを実行すると

set :application, "app" 
set :domain,  "app.mydomain.com" 
set :deploy_to, "/home/user/#{domain}" 
set :use_sudo, false 

set :repository, "[email protected]:gituser/MyRepo.git" 
set :scm,   :git 
set :user,  "user" 

default_run_options[:pty] = true # Must be set for the password prompt from git to work 
ssh_options[:forward_agent] = true 


# Deploy from master branch by default 
set :branch, "master" 
set :deploy_via, :remote_cache 
#set :deploy_via, :copy 
#set :deploy_via, :rsync_with_remote_cache 
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `subversion`, `mercurial`, `perforce`, `subversion` or `none` 

role :web,  domain       # Your HTTP server, Apache/etc 
role :app,  domain       # This may be the same as your `Web` server 
role :db,   domain, :primary => true  # This is where Rails migrations will run 

set :keep_releases, 3 

それは私の地元のgithubのパスキーを要求します私が入力したフレーズを入力して、ホストapp.mydomain.comのsshパスワードを入力すると、上記のexitで終了します。

私はcapifonyを使ってrsyncをローカルマシンからdeploy_via:copyまたは:deploy_via:rsync_with_remote_cache経由でまっすぐに実行しようとしましたが、両方ともさまざまな理由で死ぬようですしかし、修正が私のために動作しませんでした):

http://railsforum.com/viewtopic.php?id=37822

FWIW:キャップ配備:チェ​​ックは罰金だけでなく、キャップデプロイ動作します:セットアップ...

任意の助けいただければ幸いです!

答えて

0

多分少し遅れました。しかし私はこの問題の下でも掘り下げていました。

それを見て、私は気管支炎が窓ですぐにはうまく動作しないと言います。私は

をcygwinのために試してみるwoill ...

を「輸出」/ $(XXX)などのようなLinuxとbashシェル固有のコマンドがたくさんあるログレベルを上げます

関連する問題