2

I installed RoR on my Mac using sudo gem install rails. That command will download the docs. Which switch can I use to not download any docs during installation?

Also, is there a way to remove all the docs after installation?

4thSpace
  • 43,672
  • 97
  • 296
  • 475

2 Answers2

3

You could add this in your terminal:

echo "gem: --no-document" >> ~/.gemrc

you can get more information Faster Gem Installation

akbarbin
  • 4,985
  • 1
  • 28
  • 31
1

You should use --no-document.

To to make it default check How to make --no-ri --no-rdoc the default for gem install?

Community
  • 1
  • 1
Paritosh Piplewar
  • 7,982
  • 5
  • 26
  • 41