China : gem install jekyll do not work #1409

zheolong opened this Issue Aug 11, 2013 · 23 comments


None yet

I am a Chinese student, when I first run gem install jekyll in my computer, it show that

ERROR:  Could not find a valid gem 'jekyll' (>= 0) in any repository
ERROR:  Possible alternatives: jekyll` 

I tried a lot of ways and finally find the solution:

$ gem sources --remove
$ gem sources -a
$ gem sources -l
$ gem install rack 

Then, run gem install jekyll and it will work.

parkr commented Aug 11, 2013

Is blocked in China? We're definitely available there:

@parkr parkr closed this Sep 7, 2013
john990 commented Dec 13, 2013

oh big gfw..........


Sometimes it is well, just as google in China.


I am a Chinese,too. It works,thank you

ghost commented May 18, 2014

we all live in gfw

wayou commented Jun 2, 2014

changing the source works like a charm! thanks bro.

bullest commented Jun 7, 2014

Thanks for the solution!
F**K the GFW!!!


Thank you very much, it works!


I also had the same problem and it was solved by the above solution. Thanks for that. But I am in India and just started using Deepin Linux, which is Chinese.
Is this blocking supposed to be dependent on OS? I can't even understand how both are connected. Isn't it supposed to be dependent on the geographical location?

bullest commented Aug 17, 2014

In China, Amazon S3 is blocked by GFW, so we cannot access rubygems. provide a mirror, which syncs to official source every 15 minute.
The blocking has no relationship with OS, I think it's your network problem. You can try to ping.


There's a problem in what you have wrritten: $ gem sources --remove ; it should be $ gem sources --remove . What's more,Your method does't work for me . But I solved in another way .

jast90 commented Nov 6, 2014

gem install jekyll ERROR: Error installing jekyll: The 'fast-stemmer' native gem requires installed build tools. Please update your PATH to include build tools or download the DevKit from '' and follow the instructions at ''


Do you have devkit installed and is it inside your path variable?

fiona23 commented Nov 18, 2014

Thank you very much!

Q-E-D commented Dec 8, 2014

Thx, it could also solve error below:

ERROR:  Could not find a valid gem 'jekyll' (>= 0), here is why:
      Unable to download data from - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
zieckey commented Dec 14, 2014
  1. download the cert file : curl -o cacert.pem
  2. add an env : SSL_CERT_FILE=the/path/to/cacert.pem

Please see this blog :

ghost commented Dec 16, 2014

thx,it works!


It works !!!
Thank you so much, I'm also a Chinese student

HeroWit commented Jan 23, 2015

Thank you very much,it works!
F**k GFW!!!!!!!,I'm a Chinese too....


Thx a lot. It works fine.


Thank you very much


Thanks a lot !


This ticket is being locked, there is no need to send a thank you if something helps you, all it does is waste Github bandwidth by having them send dozens of emails and ping @jekyll/core.

@envygeeks envygeeks locked and limited conversation to collaborators Jun 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.