0

I am trying to update jekyll for a while now but all I got is this Error:

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$

What am I doing wrong?

UPDATE:

When I’ll try to install jekyll (What isn't really necessary, because I am already working with it) I’ll get this:

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$ 

No Clue! I already updated my certificates with rvmand brew but receive the same errors.

And I already tried to set URL to http like this:

localhost:~ MYNAME$ gem update jekyll --source http://rubygems.org

Same result!

PDXIII
  • 1,086
  • 2
  • 8
  • 17
  • Nothing to do with Jekyll, it's a RVM + Openssl + Rubygems issue. – Patrick Oscity Dec 19 '13 at 11:58
  • But how can I fix it? – PDXIII Dec 19 '13 at 12:17
  • See the question I linked to as duplicate, there are several suggestions. Take a look at the highest rated answer first. – Patrick Oscity Dec 19 '13 at 12:23
  • No suggestion from that post work for me. Seems my brew installation is some how f**** up. I now deinstalled brew. Let’s see what will happen. Thanx anyway! – PDXIII Dec 19 '13 at 13:07
  • You can manually download jekyll gem, from ruby gems in then install it from you computer. `wget https://rubygems.org/downloads/jekyll-1.4.2.gem` then `gem install jekyll-1.4.2.gem`. However, the updating the `--system` update the system wide gem's isn't good way, you are able to crush the system. Use `rvm/rbenv` instead. – Малъ Скрылевъ Dec 19 '13 at 13:14
  • Thank you for all your advises! I followed the link by p11y and it work out. – PDXIII Dec 20 '13 at 08:51

0 Answers0