Red Hat Bugzilla – Bug 852726
Man page for rhc command missing
Last modified: 2015-05-14 22:04:01 EDT
Description of problem:
With a gem install, there is no man page explaining the rhc command and its behaviour.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. gem install rhc
2. man rhc
$ man rhc
No manual entry for rhc
A man page to show up
I know we have man pages. They are in the rhc rpm. We just have to get them into the gem file.
Gem files can't install man, and shouldn't.
Can we at least have the man pages in the gem file.
That would provide two things.
- people who want to use the gem man plugin can
- people building packages from the gem (Fedora rpm's, possibly others) would be able to install man pages.
This would only mean adding one line to the gemspec
s.files += Dir.glob("man/*")
Man files are going to be generated by the RPM build from the source - so as soon as J5's changes drop anyone with the gem source will be able to run a rake command to generate man files (bundle exec rake man:generate" or something). This means that man files won't exist in source - they'll exist in the command metadata and be generated on demand.
Thank sounds great.
News? As far as gem source version 0.98.16 i dont see any rake tasks.