だから私はレールアプリを持っていて、ec2にデプロイしています。cap deploy:setup、cap deploy:check、cap:deploy は成功しました。その後、その URL にアクセスしようとしましたが、アプリがどこにあるのか、さらに手順があるのか 実際にはわかりません。http://xxx.us-west-2.compute.amazonaws.com/var/www/highlandsfacebookartにアクセスしようとしましたが、何も得られませんでした。
ここに私の deploy.rb があります
set :application, "highlandsfacebookart"
set :repository, "repository-url"
set :user, 'ec2-user'
set :use_sudo, false
set :deploy_to, "/var/www/#{application}#"
#set :deploy_via, :remote_cache
set :deploy_via, :copy
set :normalize_asset_timestamps, false
set :ssh_options, { :forward_agent => true }
ssh_options[:keys] = %w(~/highlandsfbkey.pem)
set :scm, "git"
# set :scm, :git # You can set :scm explicitly or Capistrano will make an intelligent guess based on known version control directory names
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`
role :web, "xxx.compute.amazonaws.com" # Your HTTP server, Apache/etc
role :app, "xxx.us-west-2.compute.amazonaws.com" # This may be the same as your `Web` server
role :db, "xxx.us-west-2.compute.amazonaws.com", :primary => true # This is where Rails migrations will run
role :db, "xxx.compute.amazonaws.com"