Re: [PATCH] ruby: ensure that .ext/rdoc is gone in compile

Alexander Kanavin
2016-08-29T12:49:14Z

On 08/29/2016 03:47 PM, Sujith H wrote:
> From: Christopher Larson <chris_larson@mentor.com>
>
> rdoc gets unhappy if this already exists, so remove it before building.
>
> Without this, it's possible to hit this error:
>
> Directory .ext/rdoc already exists, but it looks like it isn't an RDoc
> directory.

> +
> +do_compile_prepend () {
> + rm -rf .ext/rdoc
> +}
>

The fix may be fixing the symptom and masking a different issue, have
you checked when and how the error occurs?

Alex