首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法启动Sidekiq

无法启动Sidekiq
EN

Stack Overflow用户
提问于 2017-02-23 17:41:01
回答 1查看 3K关注 0票数 3

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

代码语言:javascript
复制
bundle exec sidekiq

但我得到的是:

代码语言:javascript
复制
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,我在运行时看到了它

代码语言:javascript
复制
bundle install

我明白了:

代码语言:javascript
复制
Using sidekiq 3.3.0

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

代码语言:javascript
复制
tupromail@be-s2534-msl:~/cuttlefish-master$ gem uninstall sidekiq
Remove executables:
    sidekiq, sidekiqctl

in addition to the gem? [Yn]

有什么想法吗?

EN

回答 1

Stack Overflow用户

发布于 2019-05-22 10:39:47

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

bundle install sidekiq

然后重试,出现此问题是因为捆绑程序的版本与Gemfile.lock中的版本不同

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42411957

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档