[英]no such file to load — bundler/setup when capistrano deploy
What the problem is? 到底是什么问题? Bundler installed on the remote machine.
捆绑程序安装在远程计算机上。 Here is the error:
这是错误:
Make sure Bundler is installed at the system level and not the user level. 确保Bundler安装在系统级别而不是用户级别。 You can also install Bundler using the Capistrano shell, assuming Capistrano deploys as a user with a password and sudo access on your box.
您还可以使用Capistrano shell安装Bundler,假设Capistrano以用户身份在您的机器上使用密码和sudo访问权限进行部署。
Example: 例:
$ cap shell # from within your project
cap> sudo apt-get install rubygems # or however you prefer to
# install rubygems on your box
...
... # output
...
cap> sudo gem install bundler
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.