4 ms·
It's insane the rdoc is generated at install on every client machine, if it was compiled by the author of the gem this would not be a hassle. I sometimes use t
by sunkencity 16y ago
It's insane the rdoc is generated at install on every client machine, if it was compiled by the author of the gem this would not be a hassle.
I sometimes use the local rdoc, but I have it turned off by default, online docs are useless when working with older versions of gems.
- JonnieCache 16y agoIt's even worse when you forget to turn it off server-side. Slow deployments ahoy! This is the real problem IMO. Especially as capistrano's bundler module kills the log output when installing gems in the deployment environment, I bet a lot of people don't realise that 50% of their deployment time is generating docs, because they see no direct indication of this on the console output for capistrano.
- tcopeland 16y agoThe one constant in my puppet configs: file { "/etc/gemrc": content => "gem: --no-rdoc --no-ri\n", mode => 644, owner => root, group => root } Well, maybe that and ntpd.
- jarin 16y agoIt's a pain when you're using rvm too, you end up with a copy of the docs for every gemset.