RubyGemsでRIとRDocを作成しない

~/.gemrc に以下のように書く。

gem: --no-ri --no-rdoc

または、

install: --no-rdoc --no-ri
update: --no-rdoc --no-ri