Capistrano fails to deploy to remote server
问题 SOLUTION The solution was to add the following to the top of production.rb: $:.unshift(File.expand_path('./lib', ENV['rvm_path'])) # Add RVM's lib directory to the load path. require "rvm/capistrano" # Load RVM's capistrano plugin. set :rvm_ruby_string, '1.9.2@rails31dataserver' # Or whatever env you want it to run in. set :rvm_bin_path, '/usr/local/rvm/bin' The part I was missing before was set :rvm_bin_path, '/usr/local/rvm/bin' as I've never used that configuration setting in a Capistrano