Skip to content

RDoc tries to parse .bundle files #195

@tenderlove

Description

@tenderlove

When I install a gem, RDoc tries to parse .bundle files and complains that it can't convert the binary file to UTF-8. I expect RDoc to ignore these files.

Here are repro steps:

[aaron@localhost elefaint (master)]$ gem install pg
Fetching: pg-0.14.1.gem (100%)
Building native extensions.  This could take a while...
Successfully installed pg-0.14.1
invalid options: -f fivefish
(invalid options are ignored)
Parsing documentation for pg-0.14.1
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for lib/pg_ext.bundle, skipping
Installing ri documentation for pg-0.14.1
1 gem installed
[aaron@localhost elefaint (master)]$ rdoc --version
rdoc 4.0.0
[aaron@localhost elefaint (master)]$ ruby -v
ruby 2.1.0dev (2013-02-28 trunk 39535) [x86_64-darwin12.2.1]
[aaron@localhost elefaint (master)]$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions