[英]Unable to install HomeBrew on Mac
我只需要安裝Sass。 但是后來導致了這個錯誤:
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://rubygems.org/latest_specs.4.8.gz)
我的紅寶石版本是:
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
我的rubygem版本是:
2.0.14.1
而我的openssl版本是:
OpenSSL 0.9.8zh 14 Jan 2016
因此,我嘗試研究該錯誤,然后將其引導至該鏈接 ,有關安裝RVM的內容很多,但由於curl(60)錯誤而無法完成-因此,我檢查了另一個可能的原因,該原因描述了我應該進行的診斷升級我的openssl。 所以...
我嘗試安裝自制程序,以便它可以讓我更新openssl,並使用此PATH="/usr/local/bin:$PATH"
創建了一個.bash_profile。
執行此到終端/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
然后發生另一個錯誤:
curl: (60) SSL certificate problem: Invalid certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
我已經檢查過我的證書,並且沒有過期的證書。
如果還有其他詳細信息需要幫助我,請告訴我。 我真的已經很絕望了……我只想繼續學習SASS。 T_T
以防萬一有人遇到這個問題..這是由於代理。 只需使用http。 謝謝。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.