In home dir, create a file: .gemrc (on linux, maybe on mac)

echo "gem: --no-ri --no-rdoc" >> ~/.gemrc