我最近安装了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'。
发布于 2012-09-21 03:11:50
adduser #{user} rvm帮我修好了。其中#{user}是您的cap部署用户的名称。
https://stackoverflow.com/questions/10389322
复制相似问题