Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

China : gem install jekyll do not work #1409

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

China : gem install jekyll do not work #1409

zheolong opened this issue Aug 11, 2013 · 23 comments

Comments

@zheolong
Copy link

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
Copy link
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 as completed Sep 7, 2013
@john990
Copy link

john990 commented Dec 13, 2013

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

@yevon-cn
Copy link

Sometimes it is well, just as google in China.

@siberiawolf
Copy link

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

@ghost
Copy link

ghost commented May 18, 2014

we all live in gfw

@wayou
Copy link

wayou commented Jun 2, 2014

changing the source works like a charm! thanks bro.

@TinkZhang
Copy link

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

@forrestchang
Copy link

Thank you very much, it works!

@TrigonaMinima
Copy link

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?

@TinkZhang
Copy link

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.

@yomige
Copy link

yomige commented Aug 27, 2014

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 .

@ghost
Copy link

ghost 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
Copy link

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

@miafan23
Copy link

Thank you very much!

@Q-E-D
Copy link

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
Copy link

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
Copy link

ghost commented Dec 16, 2014

thx,it works!

@hexiaoyuhaha
Copy link

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

@SeanWit
Copy link

SeanWit commented Jan 23, 2015

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

@hatakawas
Copy link

Thx a lot. It works fine.

@cheng470
Copy link

Thank you very much

@ouyangyewei429
Copy link

Thanks a lot !

@envygeeks
Copy link
Contributor

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.

@jekyll jekyll 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.
Projects
None yet
Development

No branches or pull requests