简体   繁体   English

Capistrano部署中未找到Bundle命令错误

[英]Bundle command not found error in capistrano deployment

I am using capistrano deployment. 我正在使用capistrano部署。

These errors im getting after cap deploy 这些错误是在上限部署后得到的

Command 'bundle' is available in '/usr/local/bin/bundle'
The command could not be located because '/usr/local/bin' is not included in the PATH environment variable.
bundle: command not found

Please help 请帮忙

It looks like you need to add the /user/local/bin folder to the path on the target system. 看来您需要将/ user / local / bin文件夹添加到目标系统上的路径。 Whatever login you are logging in as with Capistrano, find the profile that contains the path, and add it. 无论使用Capistrano登录时,无论使用哪种登录方式,都必须找到包含路径的配置文件并添加它。

Or, add /usr/local/bin to the master path (the actual file depends on the operating system and version. If you provide the operating system and shell, we can tell you the file to look for) 或者,将/ usr / local / bin添加到主路径(实际文件取决于操作系统和版本。如果提供了操作系统和Shell,我们可以告诉您要查找的文件)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM