Answer the question
In order to leave comments, you need to log in
How to fix an error when downloading gem packages?
I have win8, installed Ruby on rails, started installing sass with gem install sass and got this error:
ERROR: Could not find a valid gem 'sass' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.o
rg/latest_specs.4.8.gz)
Answer the question
In order to leave comments, you need to log in
The
answer was found here https://gist.github.com/luislavena/f064211759ee0f806c88
From here https://github.com/rubygems/rubygems/tags download the desired version
C:\>gem install --local C:\rubygems-update-1.8.30.gem
C:\>update_rubygems --no-ri --no-rdoc
Install vagrant and run the code in it.
On windows, I can't get ruby to work.
guides.rubygems.org/ssl-certificate-update/#instal...
https://rubygems.org/downloads/rubygems-update-2.6...
C:\Users\Termux
λ gem install --local c:\warez\_dev\_src\rubygems-update-2.6.7.gem
Successfully installed rubygems-update-2.6.7
Parsing documentation for rubygems-update-2.6.7
Installing ri documentation for rubygems-update-2.6.7
Done installing documentation for rubygems-update after 93 seconds
1 gem installed
λ update_rubygems --no-ri --no-rdoc
RubyGems 2.6.7 installed
=== 2.6.7 / 2016-09-26
Bug fixes:
* Install native extensions in the correct location when using the
`--user-install` flag. Pull request #1683 by Noah Kantrowitz.
* When calling `Gem.sources`, load sources from `configuration`
if present, else use the default sources. Pull request #1699
by Luis Sagastume.
* Fail gracefully when attempting to redirect without a Location.
Pull request #1711 by Samuel Giddins.
* Update vendored Molinillo to 0.5.1. Pull request #1714 by
Samuel Giddins.
...
C:\Users\Termux
λ gem --version
2.6.7
C:\Users\Termux
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question