Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authentication is required for gems.contribsys.com

Authentication is required for gems.contribsys.com. Please supply credentials for this source. You can do this by running: bundle config gems.contribsys.com username:password

Whenever I try to do bundle install I use to get this error. Is there a fix for this?

like image 706
Raj Kumar Avatar asked Sep 12 '16 16:09

Raj Kumar


2 Answers

I think you need to get the correct credentials. For example, we use Sidekiq and I had to get the correct username and password. After that I ran something like

$ bundle config gems.contribsys.com foo:bar

Try running $ bundle config gems.contribsys.com username:password with the appropriate username and password.

like image 74
mwehrley Avatar answered Nov 17 '22 16:11

mwehrley


I ran into this for a repo I forked. The source repo was using sidekiq-pro. To fix it, I edited the Gemfile and changed...

FROM the paid version

source 'https://gems.contribsys.com/' do
  gem 'sidekiq-pro'
end
gem 'sidekiq'

TO the free version

gem 'sidekiq', '~> 5.2'
like image 3
E L Rayle Avatar answered Nov 17 '22 16:11

E L Rayle