bundle install doesn't work from capistrano

后端 未结 9 1730
再見小時候
再見小時候 2021-02-01 15:14

I want to deploy my simple rails 4.0 application via capistrano 3.0.

I use bundler 1.3.5 so I add capistrano-bundler gem to integ

9条回答
  •  猫巷女王i
    2021-02-01 15:55

    The error sounds like it can't find bundle in your PATH. It's possible that when you SSH in manually, it's running something in your ~/.profile or ~/.bash_profile that adds it to your path.

    Find the path to bundle by logging in and running which bundle. Then, try to find how that path is added to your PATH environment variable. If there's something in your ~/.bash_profile, try moving it to~/.bashrc` instead.

    You can also try Command Mapping to specify an exact path.

    There are some more troubleshooting tips at http://www.capistranorb.com/documentation/faq/why-does-something-work-in-my-ssh-session-but-not-in-capistrano/

提交回复
热议问题