Andres Morales10,634 Points
I get the error message "Could not find a valid gem 'bundler' <>= 0> in any repository" How can I fix this issue?
I'm trying to install the gems but I get the message: "Could not find a valid gem 'bundler' <>= 0> in any repository" How can I fix this issue?
Nikolay Batrakov9,604 Points
You are probably behind a proxy or have problems with internet connection. Can you pls check with your windows settings is your terminal or VM allowed to access the Internet?
Nikolay, I am having the same problem but am not behind a proxy, and don't seem to have any internet connection problems. I also checked my Windows Firewall in case that could be an issue.
Any other suggestions?
Thanks in advance!
Guilherme Cavalcante1,616 Points
Hi Nikolay, I had the same problem today.
Here is what I get when I type "gem install bundler"
ERROR: Could not find a valid gem 'bundler' ,.= 0>, here is why: unable to download data from https://rubygems.org/ - ssl_connect retur ned=1 errno=0 state=sslv3 read server certificate b: certificate verify failed ( https://rubygems.org/latest_specs.4.8.gz)
Michael Day10,100 Points
You are behind a firewall or virus software. You need to switch to use http://rubygems.org instead of https://rubygems.org. You can use the gem sources -r https://rubygems.org then -a http://rubygems.org it will remove the https and add just the http if you are having this issue you will have to change it in your Gemfile of your test app as well or your server won't run.
alkin kasap4,765 Points
Ok on Windows 8.1 i had this problem. I've tried everything i found on the internet taking this as a starting point. In the end the best result (and simpliest one) is to change source adress to http instead of https by typing
gem sources -a http://rubygems.org
to command line. It will ask if you're sure to change adress just type y and you're done.