Installed Ruby 2.3.1 using rbenv
and now I want to enable
gem: --no-document
for all users. I mean I do not want to put it into ~/.gemrc
. Here (How to make --no-ri --no-rdoc the default for gem install?) I've read that this global file is /etc/gemrc
but it does not work for me.
Tried on Mac with default Ruby 2.0.0, with Ruby installed with rbenv, inside Docker image CentOS 6.7 - no luck, /etc/gemrc
does not work for me.
But when I copy gemrc to my home dir with cp /etc/gemrc ~/.gemrc
and install any gem, I immediately see that documentation is no longer installed.
Where am I mistaken or maybe something changed in Ruby-world?