Capistrano以捆绑退出状态127失败

时间:2015-09-02 15:31:52

标签: ruby-on-rails deployment capistrano

我试图将我的项目部署到我的DigitalOcean Droplet,但我收到了错误。

DEBUG [9bbcec2c] Command: cd /home/deploy/movieseat/releases/20150902152631 && /usr/bin/env bundle install --path /home/deploy/movieseat/shared/bundle --without development test --deployment --quiet
DEBUG [9bbcec2c]    /usr/bin/env: 
DEBUG [9bbcec2c]    bundle
DEBUG [9bbcec2c]    : No such file or directory
DEBUG [9bbcec2c]    
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as deploy@178.62.204.53: bundle exit status: 127
bundle stdout: Nothing written
bundle stderr: /usr/bin/env: bundle: No such file or directory

SSHKit::Command::Failed: bundle exit status: 127
bundle stdout: Nothing written
bundle stderr: /usr/bin/env: bundle: No such file or directory

Tasks: TOP => deploy:updated => bundler:install
(See full trace by running task with --trace)
The deploy has failed with an error: #<SSHKit::Runner::ExecuteError: Exception while executing as deploy@178.62.204.53: bundle exit status: 127
bundle stdout: Nothing written
bundle stderr: /usr/bin/env: bundle: No such file or directory

我做了一些搜索,发现最常见的解决方法是在服务器上安装Bundler,但我已经做到了。在我的服务器上,我做了,

bundler -v
Bundler version 1.10.6

所以我想知道现在的错误是什么。

0 个答案:

没有答案