Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Não consigo rodar o "bundle install"

Eu não consigo rodar o rails server pois ele fala que precisa do 'tzinfo-data (>= 0) x86-mingw32'. Então ele me sugere rodar o bundle install, é nessa parte que eu encontro os seguintes erros:

C:\Sites\lojadecamisetas>rails server
Could not find gem 'tzinfo-data (>= 0) x86-mingw32' in the gems available on this machine.
Run `bundle install` to install missing gems.

C:\Sites\lojadecamisetas>bundle install
DL is deprecated, please use Fiddle
Fetching source index from https://rubygems.org/
Retrying source fetch due to error (2/3): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://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 source fetch due to error (3/3): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://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 https://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'.

Oque eu faço?

1 resposta
solução!

Olá, Jean.

Por hora, você pode fazer a ação sugerida e trocar o https por http na linha source 'https://rubygems.org' do seu Gemfile.

Como solução definitiva, para continuar usando o https, você pode seguir esse tutorial aqui.