gem sources --remove http://rubygems.org/gem sources -a http://ruby.taobao.org/gem sources -l*** CURRENT SOURCES ***http://ruby.taobao.org请确保只有 ruby.taobao.orggem install foo