Próbuję zainstalować ruby na szynach, ale ciągle otrzymuję tyle błędów, gdy próbuję utworzyć aplikację.Gem :: RemoteFetcher :: FetchError: Zwrócono SSL_connect = 1 errno = 0 stan = SSLv3 przeczytaj
Oto co zrobiłem na moim komputerze Windows:
1) Pobrano railsinstaller-3.0.0.exe
oprogramowania 2) zainstalowanego Rails na moim komputerze. 3) Zweryfikowane że instalacja przebiegła pomyślnie:
E:\Rails>ruby -v ruby 2.0.0p598 (2014-11-13) [i386-mingw32]
E:\Rails>sqlite3 --version 3.8.7.2 2014-11-18 20:57:56 2ab564bf9655b7c7b97ab85cafc8a48329b27f93
E:\Rails>rails -v DL is deprecated, please use Fiddle Rails 4.1.8
Teraz, gdy próbuję utworzyć aplikację jestem coraz niżej wyjątek:
komenda używana jest: rails new blog
run bundle install
DL is deprecated, please use Fiddle
Fetching gem metadata from https://rubygems.org/...........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/gems/rake-10.4.2.gem)
An error occurred while installing rake (10.4.2), and Bundler cannot continue.
Make sure that `gem install rake -v '10.4.2'` succeeds before bundling.
Teraz próbowałem aby uruchomić to polecenie - gem install rake -v '10.4.2'
, Zacząłem dostawać poniżej błędu:
E:\Rails>gem install rake -v '10.4.2'
ERROR: Could not find a valid gem 'rake' (= 10.4.2), 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://rubygems.org/specs.4.8.gz)
Utknąłem tutaj, czy możesz powiedzieć, gdzie popełniam błąd w tej instalacji? Próbowałem różnych opcji podanych w SO, ale nie udaje mi się wszystkie razy.
Gdy próbuję uruchomić serwer wtedy jestem coraz niżej wyjątek:
E:\Rails> cd blog
E:\Rails\blog>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.
Teraz jeśli biegnę bundle install
ja dostaję nowy błąd:
E:\Rails\blog>bundle install
DL is deprecated, please use Fiddle
Fetching gem metadata from https://rubygems.org/...........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/gems/rake-10.4.2.gem)
An error occurred while installing rake (10.4.2), and Bundler cannot continue.
Make sure that `gem install rake -v '10.4.2'` succeeds before bundling.
Znowu gdy próbuję zainstalować grabie Otrzymuję nowy wyjątek:
E:\Rails\blog>gem install rake -v '10.4.2'
ERROR: Could not find a valid gem 'rake' (= 10.4.2), 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://rubygems.org/specs.4.8.gz)
Próbuję tego przez ostatnie 2 dni, ale chory Nie jestem w stanie zrozumieć, gdzie popełniam błąd podczas instalacji.
Odpowiedź na ten problem wydaje się być dość dobrze udokumentowana w istotnym kontekście. https://gist.github.com/luislavena/f064211759ee0f806c88 –
Wielkie dzięki, zadziałało. – user3181365