Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 956
idlefingers Avatar asked Feb 23 '11 17:02

idlefingers


People also ask

Where does bundler look for gems?

gem files your app uses in vendor/cache . Running bundle install will prefer gems in vendor/cache to gems in other locations.

Is bundler a ruby gem?

Bundler: The best way to manage a Ruby application's gems. Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed.


1 Answers

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

like image 79
Lawrence I. Siden Avatar answered Oct 21 '22 12:10

Lawrence I. Siden