China : gem install jekyll do not work #1409

Closed
zheolong opened this Issue Aug 11, 2013 · 23 comments

Projects

None yet
@zheolong

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 http://rubygems.org/
$ gem sources -a http://ruby.taobao.org/
$ gem sources -l
*** CURRENT SOURCES ***
http://ruby.taobao.org    
$ gem install rack 

Then, run gem install jekyll and it will work.

@parkr
Member
parkr commented Aug 11, 2013

Is rubygems.org blocked in China? We're definitely available there: http://rubygems.org/gems/jekyll

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

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

@yevon-cn

Sometimes it is well, just as google in China.

@siberiawolf

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

@ghost
ghost commented May 18, 2014

we all live in gfw

@wayou
wayou commented Jun 2, 2014

changing the source works like a charm! thanks bro.

@bullest
bullest commented Jun 7, 2014

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

@forrestchang

Thank you very much, it works!

@TrigonaMinima

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
bullest commented Aug 17, 2014

In China, Amazon S3 is blocked by GFW, so we cannot access rubygems. http://ruby.taobao.org/ 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.

@shuaidehenkaopu

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

@jast90
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 'http://rubyinstaller.org/downloads' and follow the instructions at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'

@kleinfreund
Contributor

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

@fiona23
fiona23 commented Nov 18, 2014

Thank you very much!

@Q-E-D
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 https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/latest_specs.4.8.gz)
@zieckey
zieckey commented Dec 14, 2014
  1. download the cert file : curl http://curl.haxx.se/ca/cacert.pem -o cacert.pem
  2. add an env : SSL_CERT_FILE=the/path/to/cacert.pem

Please see this blog : http://blog.codeg.cn/2014/12/14/jekyll-install-on-win7/

@ghost
ghost commented Dec 16, 2014

thx,it works!

@hexiaoyuhaha

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

@HeroWit
HeroWit commented Jan 23, 2015

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

@hatakawas

Thx a lot. It works fine.

@cheng470

Thank you very much

@ouyangyewei

Thanks a lot !

@envygeeks
Member

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.