【发布时间】:2017-02-23 09:41:00
【问题描述】:
在 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]
有什么想法吗?
【问题讨论】:
-
使用此命令
gem list sidekiq列出版本。 -
版本 3.3.0:tupromail@be-s2534-msl:~/cuttlefish-master$ gem list sidekiq *** LOCAL GEMS *** sidekiq (3.3.0)
-
您是否按照错误消息中的建议尝试过
gem install bundler? -
安装包后出现什么错误?
-
在 gem install sidekiq 之后,我尝试运行 sidekiq:bundle exec sidekiq,然后我得到:bundler: command not found: sidekiq
标签: ruby-on-rails centos rubygems sidekiq