我使用的是Rails 5.0.1。当我尝试启动sidekiq时,我收到了这个错误...
rails@myproject:~/myproject$ bundle exec sidekiq -d -L log/sidekiq.log
bundler: command not found: sidekiq
Install missing gem executables with `bundle install`
但是,已经安装了gem,如下所示
rails@myproject:~$ find ~/.gem -name "sidekiq*"
/home/rails/.gem/ruby/2.4.0/cache/sidekiq-5.0.0.gem
/home/rails/.gem/ruby/2.4.0/specifications/sidekiq-5.0.0.gemspec
/home/rails/.gem/ruby/2.4.0/bin/sidekiqctl
/home/rails/.gem/ruby/2.4.0/bin/sidekiq
/home/rails/.gem/ruby/2.4.0/gems/sidekiq-5.0.0
/home/rails/.gem/ruby/2.4.0/gems/sidekiq-5.0.0/sidekiq.gemspec
/home/rails/.gem/ruby/2.4.0/gems/sidekiq-5.0.0/lib/generators/sidekiq
/home/rails/.gem/ruby/2.4.0/gems/sidekiq-5.0.0/lib/sidekiq.rb
/home/rails/.gem/ruby/2.4.0/gems/sidekiq-5.0.0/lib/sidekiq
/home/rails/.gem/ruby/2.4.0/gems/sidekiq-5.0.0/bin/sidekiqctl
/home/rails/.gem/ruby/2.4.0/gems/sidekiq-5.0.0/bin/sidekiqload
/home/rails/.gem/ruby/2.4.0/gems/sidekiq-5.0.0/bin/sidekiq
/home/rails/.gem/ruby/2.4.0/gems/activejob-5.0.2/lib/active_job/queue_adapters/sidekiq_adapter.rb
我告诉"捆绑执行官"哪里可以找到sidekiq宝石?