ゴムが効いていて使っていrubber vulcanize complete_unicorn_nginx_postgresql
ます。cap rubber:create_staging
プロセスをかなり進んだ後、実行に失敗します。失敗した部分の出力は次のとおりです。
* executing "sudo -p 'sudo password: ' bash -l /tmp/create_master_db"
servers: ["web-staging.site.com"]
[web-staging.site.com] executing command
** [out :: web-staging.site.com] ERROR: syntax error at or near "-"
** [out :: web-staging.site.com] LINE 1: CREATE USER my-website WITH NOSUPERUSER CREATEDB NOCREATE...
** [out :: web-staging.site.com] ^
command finished in 625ms
failed: "/bin/bash -l -c 'sudo -p '\\''sudo password: '\\'' bash -l /tmp/create_master_db'" on web-staging.site.com
この時点で、ラバーを ec2 インスタンスに正常にデプロイし、Rails アプリを起動して表示するために何を確認/変更すればよいか途方に暮れています。助けてくれてありがとう!