Can Bundler be configured to install gems rdoc?
Asked Answered
P

3

10

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.

Pyroxylin answered 23/2, 2011 at 17:42 Comment(0)
E
2

If you use rvm, try "rvm rdocs generate ..."

Enzymology answered 8/12, 2011 at 20:8 Comment(0)
F
1

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

Flavory answered 10/5, 2011 at 16:56 Comment(0)
A
-1

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

Agitato answered 23/5, 2011 at 5:14 Comment(1)
This is not an answer. It might be a comment.Enzymology

© 2022 - 2024 — McMap. All rights reserved.