Error in bundle install ROR

1

I'm working on Windows 7, but trying to create a new project today gives me problems. From what I understand is with the SSL certificate. While there is documentation of the error, I have not been able to correct it.
I leave the error that returns to me the console:

create  vendor/assets/stylesheets/.keep
         run  bundle install Fetching source index from rubygems.org/ Retrying fetcher due to error (2/4):
Bundler::Fetcher::CertificateFailureError Could not verify the SSL
certificate for rubygems.org/. There is a chance you are
experiencing a man-in-the-middle attack, but most likely your system
doesn't have the CA certificates needed for verification. For
information about OpenSSL certificates, see bit.ly/ruby-ssl. To
connect without using SSL, edit your Gemfile sources and change
'https' to 'http'. Retrying fetcher due to error (3/4):
Bundler::Fetcher::CertificateFailureError Could not verify the SSL
certificate for rubygems.org/. There is a chance you are
experiencing a man-in-the-middle attack, but most likely your system
doesn't have the CA certificates needed for verification. For
information about OpenSSL certificates, see bit.ly/ruby-ssl. To
connect without using SSL, edit your Gemfile sources and change
'https' to 'http'. Retrying fetcher due to error (4/4):
Bundler::Fetcher::CertificateFailureError Could not verify the SSL
certificate for rubygems.org/. There is a chance you are
experiencing a man-in-the-middle attack, but most likely your system
doesn't have the CA certificates needed for verification. For
information about OpenSSL certificates, see bit.ly/ruby-ssl. To
connect without using SSL, edit your Gemfile sources and change
'https' to 'http'. Could not verify the SSL certificate for
rubygems.org/. There is a chance you are experiencing a
man-in-the-middle attack, but most likely your system doesn't have the
CA certificates needed for verification. For information about OpenSSL
certificates, see bit.ly/ruby-ssl. To connect without using
SSL, edit your Gemfile sources and change 'https' to 'http'.

miguelangel@DESKTOP-RHJ8M9N /c/sites $ rails -v Rails 4.2.5.1
    
asked by Miguel Angel Gonzalez Jaimen 10.10.2016 в 02:21
source

1 answer

1

Apparently you need to update the SSL certificate on your system. Test with gem update --system . If the problem persists, then you could try at your Gemfile to change:

source 'https://rubygems.org'

by:

source 'http://rubygems.org'
    
answered by 10.10.2016 / 23:48
source