postmodern / hoe-yard

A Hoe plugin for generating YARD documentation
MIT License
3 stars 3 forks source link

failing to build rdoc when installing gem #1

Open klepek opened 13 years ago

klepek commented 13 years ago

gem install --local --install-dir /builddir/build/BUILDROOT/rubygem-hoe-yard-0.1.2-1.fc16.x86_64/usr/lib/ruby/gems/1.8 --force --rdoc /builddir/build/SOURCES/hoe-yard-0.1.2.gem unrecognized option `--protected' For help on options, try 'rdoc --help' ERROR: While generating documentation for hoe-yard-0.1.2 ... MESSAGE: exit ... RDOC args: --ri --op /builddir/build/BUILDROOT/rubygem-hoe-yard-0.1.2-1.fc16.x86_64/usr/lib/ruby/gems/1.8/doc/hoe-yard-0.1.2/ri --protected --title HoeYard Documentation --quiet lib Manifest.txt History.rdoc --title hoe-yard-0.1.2 Documentation --quiet

please remove --protected from options in specification file

postmodern commented 7 years ago

This is because at one time rubygems allowed non-rdoc documentation generators to hook in via plugins. At that time you could specify non-rdoc options via rdoc_options. That isn't the case anymore, so I may have to remove that feature.