我最近安装了 gem rvm-capistrano 以便部署在我的服务器中。首先,我尝试运行cap deploy:setup
. 似乎安装了 RVM,但由于某些原因(权限或其他),它无法安装 REE:
Warning:
*** [err :: myserver.com] Failed to create the file ruby-enterprise-1.8.7-2012.02.tar.gz
[...]
There was an error, please check /usr/local/rvm/log//*.log. Next we'll try to fetch via http.
** [out :: myserver.com] Trying ftp:// URL instead.
我没有包括更多,因为无关紧要。
显然在deploy.rb
sudo 选项中设置为'root'
.