Can Bundler be configured to install gems rdoc?
I use bdoc (with hanna for formatting) as a quick way of looking at the rdoc documentation for the gems installed on my system. However, because bundler does not install rdoc when installing gems, I'm constantly having to generate them manually whenever I start using a new gem, or update an existing one.
Does anyone know if there's a way of configuring bundler to get it to install rdoc when installing gems to avoid me having to do it manually? I can't see any mention of this in the bundler source, nor in the config manual.
如果您使用rvm,请尝试“rvm rdocs generate ...”
My first answer is wrong, there is a feature request for bundle on this and an invitations from the developer to implement this option.
https://github.com/carlhuda/bundler/issues/383
bundler is concerned with an application's environmental dependencies. rdoc is not an environment dependency, but a developer resource tool.
(continue to) use gem rdoc gemname