我正在尝试更新jekyll一段时间,但我得到的只是这个错误:
localhost:~ MYNAME$ sudo gem update --system
Latest version currently installed. Aborting.
localhost:~ MYNAME$ sudo gem update jekyll
Updating installed gems
Updating jekyll
ERROR: While executing gem ... (Gem::SpecificGemNotFoundException)
Could not find a valid gem 'jekyll' (= 1.4.2) locally or in a repository
localhost:~ MYNAME$
我做错了什么?
更新
当我尝试安装jekyll时(什么不是真的有必要,因为我已经在使用它了)我会得到这个:
localhost:~ MYNAME$ sudo gem install jekyll
ERROR: Could not find a valid gem 'jekyll' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint (https://aws-eu-cache01.rubygems.org/quick/Marshal.4.8/jekyll-1.4.2.gemspec.rz)
ERROR: Possible alternatives: jekyll
localhost:~ MYNAME$
没有线索!我已使用rvm
和brew
更新了我的证书,但收到的错误相同。
我已经尝试将URL设置为http,如下所示:
localhost:~ MYNAME$ gem update jekyll --source http://rubygems.org
结果相同!