私は簡単な仕事をしています... cap foreman:restart
. (Pageant を使用している) PuTTY を介してサーバーにアクセスできますが、Capistrano はそれを認識していないようです。
** [out :: staging.fanmouth.com] restart: Rejected send message, 1 matched rules; type="method_call", sender=":1.4640" (uid=1000 pid=13681 comm="restart fanmouth-scheduler ") interface="com.ubuntu.Upstart0_6.Job" member="Restart" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
** [out :: staging.fanmouth.com]
←[2;37mcommand finished in 8231ms←[0m
failed: "env PATH=/usr/local/rbenv/shims:$PATH RAILS_STAGE=staging sh -c 'sudo -p '\\''sudo password: '\\'' start fanmouth-scheduler || restart fanmouth-scheduler'" on staging.fanmouth.com
パスワードを聞かれます... 私はパスワードを入力して取得します。パスワードを間違って入力すると、その旨が表示されます (3 回入力して終了します)。
deploy.rb
set :ssh_options, { :forward_agent => true }
ウェブ上で検索すると、それを設定する必要があることがわかります... falseで試してみましたが、同じ結果が得られました。
SSH や Pageant についてはよく知りません。どこが間違っているのか分かりますか?