Don't install ri or rdoc when installing gems.