Add mcd function

Thanks, kernelsmith, for the idea.
Add .gemrc to stop doing ri and rdoc for gems