Bundler:HTTPError Could not download gem sidekiq-pro-5.3.0

2.8k Views Asked by At

Bundler:HTTPError Could not download gem sidekiq-pro-5.3.0. I am unable to install the sidekiq pro gem for rails due to a permissions error.

$ bundle install

Bundler::HTTPError: Could not download gem from https://gems.contribsys.com/ due to underlying error <bad response Unauthorized 401
(https://gems.contribsys.com/gems/sidekiq-pro-5.3.0.gem)>
2

There are 2 best solutions below

1
Mike Perham On BEST ANSWER
0
i0x539 On

Lacked credentials in bundle config.

$ bundle config --local gems.contribsys.com user:password with the proper values sets a line in the .bundle/config which looks like

---
BUNDLE_GEMS__CONTRIBSYS__COM: "user:password"

https://devcenter.heroku.com/articles/bundler-configuration was a helpful source of information.

installing sidekiq pro completed properly after that.