現在沒有笑... 我這樣說是因爲有很多人已經問過,不一定是sass寶石,而是其他寶石。答案几乎總是讓提問者轉向構建virtualbox linux環境。 好的,我已經知道了,但我想出於個人原因使用Windows環境。 我跟着薩斯自己的方向: http://sass-lang.com/install無法在Windows 7上安裝寶石7 64
紅寶石應該在Windows 7可以工作,所以我對答案,其實讓我在windows環境下安裝寶石感激。這不是防火牆問題。我暫時關閉防火牆進行檢查。
我已經在rubyinstaller.org上使用下載安裝了Ruby。 我正在嘗試安裝sass gem。寶石不會安裝任何寶石,所以它不是特定的。 它看起來像問題與https有關。 如果有人能告訴我如何完成這項工作,我將不勝感激。
PS C:\Users\Chris> ruby -v
ruby 2.0.0p353 (2013-11-22) [x64-mingw32]
PS C:\Users\Chris> gem -v
2.1.5
PS C:\Users\Chris> gem install sass
gem : ERROR: Could not find a valid gem 'sass' (>= 0), here is why:
At line:1 char:1
+ gem install sass
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (ERROR: Could n...), here is why::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server
certificate B: certificate verify failed (https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz)
PS C:\Users\Chris>
你貼什麼樣的錯誤信息似乎意味着問題出在您的驗證能力上y來自rubygems.org的證書。我想這就是你需要追蹤的。 – Coenwulf
Coenwulf,謝謝你的回覆。這是完全正確的。在預感上,我從Ruby 2.0.0-p353降級到1.9.3-p484。寶石現在正確安裝。最新版本的Ruby Installer顯然存在一個問題,它不適用於所有版本的Win7 Pro 64位。 – Chris