Bundle install was working perfectly yesterday but now it's returning this output in the CL:
~/dev/rails/sample_app$ bundle install
Fetching gem metadata from https://rubygems.org/.
Error Bundler::HTTPError during request to dependency API
Fetching full source index from https://rubygems.org/
Could not reach https://rubygems.org/
the only change I made to the gem file was to add the gem for factory girl (1.4.0) in the test group.
I'm not working behind any proxies and I'm fully connected to the internet as well. Can't seem to find anything like this on google either. Any help would be much appreciated!
No incidents or maintenance related to this downtime.
What is Bundler? Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed. Bundler is an exit from dependency hell, and ensures that the gems you need are present in development, staging, and production.
Think of bundler as a package management tool. So bundle install command will install all gems to the system that are listed in Gemfile as well as their dependencies. If the gem was not previously installed it will grab it from the gemcutter repo.
This is not a gem or ruby issue, this is a resolver issue, as you could tell from your uknown host rubygems.org
response.
If your browser is resolving, try sites like:
to validate that your problem is localized.
Is it working when you remove the new line ?
Maybe, you should switch the Gemfile to use http
instead of https
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With