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

Comments

Projects
None yet
@zheolong

zheolong commented Aug 11, 2013

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

This comment has been minimized.

Show comment
Hide comment
@parkr

parkr Aug 11, 2013

Member

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

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

This comment has been minimized.

Show comment
Hide comment
@john990

john990 Dec 13, 2013

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

john990 commented Dec 13, 2013

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

@yevon-cn

This comment has been minimized.

Show comment
Hide comment
@yevon-cn

yevon-cn Dec 13, 2013

Sometimes it is well, just as google in China.

yevon-cn commented Dec 13, 2013

Sometimes it is well, just as google in China.

@siberiawolf

This comment has been minimized.

Show comment
Hide comment
@siberiawolf

siberiawolf Mar 30, 2014

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

siberiawolf commented Mar 30, 2014

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

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost May 18, 2014

we all live in gfw

ghost commented May 18, 2014

we all live in gfw

@wayou

This comment has been minimized.

Show comment
Hide comment
@wayou

wayou Jun 2, 2014

changing the source works like a charm! thanks bro.

wayou commented Jun 2, 2014

changing the source works like a charm! thanks bro.

@bullest

This comment has been minimized.

Show comment
Hide comment
@bullest

bullest Jun 7, 2014

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

bullest commented Jun 7, 2014

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

@forrestchang

This comment has been minimized.

Show comment
Hide comment
@forrestchang

forrestchang Jun 22, 2014

Thank you very much, it works!

forrestchang commented Jun 22, 2014

Thank you very much, it works!

@TrigonaMinima

This comment has been minimized.

Show comment
Hide comment
@TrigonaMinima

TrigonaMinima Aug 6, 2014

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?

TrigonaMinima commented Aug 6, 2014

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

This comment has been minimized.

Show comment
Hide comment
@bullest

bullest 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.

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.

@cobcmw

This comment has been minimized.

Show comment
Hide comment
@cobcmw

cobcmw 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 .

cobcmw 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 .

@jast90

This comment has been minimized.

Show comment
Hide comment
@jast90

jast90 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'

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

This comment has been minimized.

Show comment
Hide comment
@kleinfreund

kleinfreund Nov 7, 2014

Contributor

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

Contributor

kleinfreund commented Nov 7, 2014

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

@fiona23

This comment has been minimized.

Show comment
Hide comment
@fiona23

fiona23 Nov 18, 2014

Thank you very much!

fiona23 commented Nov 18, 2014

Thank you very much!

@Q-E-D

This comment has been minimized.

Show comment
Hide comment
@Q-E-D

Q-E-D 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)

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

This comment has been minimized.

Show comment
Hide comment
@zieckey

zieckey 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/

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

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Dec 16, 2014

thx,it works!

ghost commented Dec 16, 2014

thx,it works!

@hexiaoyuhaha

This comment has been minimized.

Show comment
Hide comment
@hexiaoyuhaha

hexiaoyuhaha Jan 7, 2015

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

hexiaoyuhaha commented Jan 7, 2015

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

@SeanWit

This comment has been minimized.

Show comment
Hide comment
@SeanWit

SeanWit Jan 23, 2015

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

SeanWit commented Jan 23, 2015

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

@hatakawas

This comment has been minimized.

Show comment
Hide comment
@hatakawas

hatakawas Jan 31, 2015

Thx a lot. It works fine.

hatakawas commented Jan 31, 2015

Thx a lot. It works fine.

@cheng470

This comment has been minimized.

Show comment
Hide comment
@cheng470

cheng470 Feb 12, 2015

Thank you very much

cheng470 commented Feb 12, 2015

Thank you very much

@ouyangyewei

This comment has been minimized.

Show comment
Hide comment
@ouyangyewei

ouyangyewei Jun 1, 2015

Thanks a lot !

ouyangyewei commented Jun 1, 2015

Thanks a lot !

@envygeeks

This comment has been minimized.

Show comment
Hide comment
@envygeeks

envygeeks Jun 1, 2015

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.

Contributor

envygeeks commented Jun 1, 2015

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.