简体   繁体   中英

Bundle command not found error in capistrano deployment

I am using capistrano deployment.

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. Whatever login you are logging in as with Capistrano, find the profile that contains the path, and add it.

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)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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