gem を更新したところ、cap
コマンドを実行しようとすると次のエラーが表示されます。
no servers found to match {:once=>true, :eof=>true}
私の宝石のバージョンは次のとおりです。
capistrano (2.15.5)
capistrano-platform-resources (0.1.3)
capistrano-rbenv (1.0.5)
そして、私の config/deploy.rb は次のようになります。
# the name of the application
set :application, "appname"
# RVM
require "capistrano-rbenv"
set :rbenv_ruby_version, "1.9.3-p194"
# Bundler
require "bundler/capistrano"
# General
# this should be the username on the server
set :user, "deploy"
# the path to install the application in on the server
set :deploy_to, "/home/#{user}/path/to/#{application}"
# Setting this to 'remote_cache' will ensure that only
# changes are sent to the server, not the whole repository
# NOTE: Can only use remote_cache in conjunction with github repos
set :deploy_via, :remote_cache
set :use_sudo, false
# Git
# Github say I need this, thus I need it
# INFO: http://help.github.com/deploy-with-capistrano/
default_run_options[:pty] = true
ssh_options[:forward_agent] = true
set :scm, :git
set :repository, "git@github.com:dtuite/#{application}.git"
# the local location of the app.
# which branch to checkout during deploy
set :branch, "master"
# the IP address of the VPS
server "[the server ip]", :web, :app, :db, primary: true
この問題を解決する方法はありますか?