无法启动Sidekiq

时间:2017-02-23 09:41:01

标签: ruby-on-rails centos rubygems sidekiq

在Centos上安装Sidekiq之后,我尝试使用命令启动Sidekiq(它由Sidekiq使用):

forceNetwork()

但后来我得到了:

bundle exec sidekiq

点是安装了Sidekiq,我在运行时看到它

tupromail@be-s2534-msl:~/cuttlefish-master$ bundle exec sidekiq
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: sidekiq
Install missing gem executables with `bundle install`

我明白了:

bundle install

此外,似乎Sidekiq可执行文件在那里:

Using sidekiq 3.3.0

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

将捆绑器更新为最新版本,然后:

bundle install sidekiq

然后再试一次,因为捆绑器版本与Gemfile.lock中的版本不同,所以发生了此问题。