Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X: Error when installing any gem - gem install bundler ERROR: Could not find a valid gem 'bundler' (>= 0), here is why: Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz) #3264

Closed
gmangalo opened this issue Jan 14, 2015 · 2 comments
Milestone

Comments

@gmangalo
Copy link

@gmangalo gmangalo commented Jan 14, 2015

OS X 10.9.5
Gem 2.0.14
Ruby 2.0.0p481
OpenSSL 0.9.8za 5 Jun 2014

gem install bundler
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz)

Tried adding source tag
gem install bundler --source http://rubygems.org
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz)
Unable to download data from http://rubygems.org/ - no such name (http://rubygems.org/latest_specs.4.8.gz)

Thought of using stable ruby version through RVM - \curl -sSL https://get.rvm.io | bash -s stable --ruby but I am getting this error
curl: (6) Could not resolve host: get.rvm.io

@mpapis

This comment has been minimized.

Copy link
Member

@mpapis mpapis commented Jan 14, 2015

can I see cat /etc/resolv.conf? it is possible:

  • your network configuration is broken,
  • your network is broken (could be temporary - please retry)
@gmangalo

This comment has been minimized.

Copy link
Author

@gmangalo gmangalo commented Feb 2, 2015

thanks @mpapis this issue was related to our network's firewall, needed to install using a wifi and bundler was successfully installed now.

@gmangalo gmangalo closed this Feb 2, 2015
@pkuczynski pkuczynski modified the milestone: rvm-1.27.0 Nov 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.