cannot load such file

355 visninger
Gå til det første ulæste opslag

John C.

ulæst,
27. okt. 2015, 10.37.0727.10.2015
til Sidekiq
Anyone know why I might be getting this error from the initializer and only in one environment:

ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- sidekiq-ent (LoadError)
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `block in require'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `require'
        from /srv/www/feepay_payment_api/releases/20151027022219/config/initializers/sidekiq.rb:1:in `<top (required)>'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:268:in `load'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:268:in `block in load'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:268:in `load'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/railties-4.2.3/lib/rails/engine.rb:652:in `block in load_config_initializer'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:166:in `instrument'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/railties-4.2.3/lib/rails/engine.rb:651:in `load_config_initializer'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/railties-4.2.3/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/railties-4.2.3/lib/rails/engine.rb:615:in `each'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/railties-4.2.3/lib/rails/engine.rb:615:in `block in <class:Engine>'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/railties-4.2.3/lib/rails/initializable.rb:30:in `instance_exec'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/railties-4.2.3/lib/rails/initializable.rb:30:in `run'
        from /home/deploy/.bundler/feepay_payment_api/ruby/2.2.0/gems/railties-4.2.3/lib/rails/initializable.rb:55:in `block in run_initializers'

Works locally, works on our QA servers, and unfortunately this is what we are getting out on prod.

Thanks,
John

Mike Perham

ulæst,
27. okt. 2015, 10.38.4527.10.2015
til sid...@googlegroups.com
Possibly your Bundler is old in production or you aren't using "bundle exec ..."
--
You received this message because you are subscribed to the Google Groups "Sidekiq" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sidekiq+u...@googlegroups.com.
To post to this group, send email to sid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sidekiq/935340e5-4d6e-487e-8b11-586a4b6734b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John C.

ulæst,
27. okt. 2015, 11.15.1227.10.2015
til Sidekiq
I just saw bundler versions were different. That must be it.

Thanks Mike.
Svar alle
Svar til forfatter
Videresend
0 nye opslag