[Rubygems-developers] Remove RDoc generation
Trans
transfire at gmail.com
Thu Dec 2 10:49:31 EST 2010
On Dec 1, 4:25 pm, Chad Woolley <thewoolley... at gmail.com> wrote:
> On Wed, Dec 1, 2010 at 1:19 PM, Trans <transf... at gmail.com> wrote:
> > The other option is to just present an error page saying why
> > the rdocs could not be generated and what can be done about it.
>
> If they need sudo access to install the rdoc, won't they also need it
> to install the gem files? And doesn't that just fail now with a write
> permission error? Why can't rdoc behave the same way, or is there
> something else to consider?
Yes, I think you are right. So, I made a nice error page that
explains.
I just made a pull request for the patch. If you want to try it out,
gem install some package with the --no-rdoc option, clone my repo
(trans/rubygems) and run `ruby -Ilib bin/gem server`, find the gem and
click on the rdoc link.
More information about the Rubygems-developers
mailing list