部署时出现Capistrano错误(未找到命令:sneakersctl)

时间:2016-07-08 15:14:03

标签: ruby-on-rails capistrano

我在部署时遇到以下错误,无法找到正在发生的事情。

有什么想法吗?

The deploy has failed with an error: #<SSHKit::Runner::ExecuteError:
Exception while executing as deploy@###.###.##.##: bundle exit status: 127
bundle stdout: Warning: the running version of Bundler is older than the version that created the lockfile.
We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
bundler: command not found: sneakersctl

1 个答案:

答案 0 :(得分:0)

我需要将sneakers.rb文件中的设置更改为

set :sneakers_run_config, -> { true }