gpt4 book ai didi

ruby-on-rails - 无法启动 Sidekiq

转载 作者:太空宇宙 更新时间:2023-11-03 17:23:42 24 4
gpt4 key购买 nike

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

bundle exec 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`

重点是安装了Sidekiq,我运行的时候看到了

bundle install

我明白了:

Using sidekiq 3.3.0

此外,似乎还有 Sidekiq 可执行文件:

tupromail@be-s2534-msl:~/cuttlefish-master$ gem uninstall sidekiq
Remove executables:
sidekiq, sidekiqctl

in addition to the gem? [Yn]

有什么想法吗?

最佳答案

将 bundler 更新到最新版本,然后:

捆绑安装sidekiq

然后重试,出现这个问题是因为bundler版本和Gemfile.lock中的版本不一样

关于ruby-on-rails - 无法启动 Sidekiq,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42411957/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com