I am a Chinese student, when I first run gem install jekyll in my computer, it show that
gem install jekyll
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 ***
$ gem install rack
Then, run gem install jekyll and it will work.
Is rubygems.org blocked in China? We're definitely available there: http://rubygems.org/gems/jekyll
oh big gfw..........
Sometimes it is well, just as google in China.
I am a Chinese,too. It works,thank you
we all live in gfw
changing the source works like a charm! thanks bro.
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?
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.
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 .
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'
Do you have devkit installed and is it inside your path variable?
Thank you very much！
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)
Please see this blog : http://blog.codeg.cn/2014/12/14/jekyll-install-on-win7/
It works !!!
Thank you so much, I'm also a Chinese student
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.