Dificultad para instalar Rspec en Windows7

Dificultad para instalar Rspec en Windows7

Tengo ruby ​​2.2.5p319, Bundler versión 1.13.1 y gem -vme dice 2.4.5.1

después de visitarhttp://rspec.info/Hice un Gemfile y probé el comando de paquete sugerido:

PS C:\Users\user\stuff\Ruby\project> bundle install --binstubs
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/.
Resolving dependencies...
Using bundler 1.13.1
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed
(https://rubygems.org/gems/diff-lcs-1.2.5.gem)
An error occurred while installing diff-lcs (1.2.5), and Bundler cannot
continue.
Make sure that `gem install diff-lcs -v '1.2.5'` succeeds before bundling.

Entonces, intenté lograr que eso tuviera éxito:

PS C:\Users\user\stuff\Ruby\project> gem install diff-lcs -v '1.2.5'
ERROR:  Could not find a valid gem 'diff-lcs' (= 1.2.5), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server ce
rtificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

Y en este punto busqué respuestas, pero no puedo resolver estos errores. Es de destacar que encontré un tutorial que cubre la instalación de Windows:https://www.tutorialspoint.com/rspec/rspec_introduction.htmy recomendamos el siguiente comando gem para instalar Rspec:

PS C:\Users\user\stuff\Ruby\project> gem install rspec
ERROR:  Could not find a valid gem 'rspec' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server ce
rtificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

¿Qué debo hacer para instalar Rspec en mi portátil HP con Windows 7? ¡Gracias de antemano!

Respuesta1

Siguiendo el procedimiento descrito aquí obtuve un instalador de gemas que funciona:http://guides.rubygems.org/ssl-certificate-update/

... y estoy listo y funcionando con el enlace Gemfile.

:)

información relacionada