didil / sidekiq-client-cli

Command line client for Sidekiq
MIT License
18 stars 18 forks source link

uninitialized constant SidekiqClientCLI::CLI #17

Open rileys opened 9 years ago

rileys commented 9 years ago

Using version 0.1.7, sidekiq 3.4.2

bundle exec sidekiq-client push ScheduleCurrentPostsWorker uninitialized constant SidekiqClientCLI::CLI /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sidekiq-client-cli-0.1.7/lib/sidekiq_client_cli.rb:12:inparse' /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sidekiq-client-cli-0.1.7/bin/sidekiq-client:7:in <top (required)>' /home/vagrant/.rbenv/versions/2.2.2/bin/sidekiq-client:23:inload' /home/vagrant/.rbenv/versions/2.2.2/bin/sidekiq-client:23:in <main>'

didil commented 9 years ago

tried to reproduce your environment but I can't reproduce the error you're seeing, seems like a missing dependency for the cli gem , could you try running bundle install again ? are you still seeing the error ?

rileys commented 9 years ago

Yes tried bundle again and no luck. I decided to use the 'sidekiq_pusher' script recommended on the sidekiq wiki, and seems to work fine.

didil commented 9 years ago

ok great you found an alternative solution. I'll leave this issue open for a while if anybody else is having the same issue please comment here then we can dig deeper but right now I can't seem to reproduce it locally or on Travis CI