השרת בסין לא יכול להגיע ל-rubygems.org לכן ההתקנה נכשלת

When on china you need to use:

source https://ruby.taobao.org/

instead of

source https://rubygems.org/

in your Gemfile.

PS.: I’m never been to China but read about this on StackOverflow.