Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gem server: How to update gems with missing rdoc?

I really like gem server command which bootstraps the webserver with local RubyGems Documentation Index.

The only problem I have: some gems don't have rdoc files.

How can I add missing rdoc(all gems are mainstream gems, not my own)?


Installed via Bundler; Rails 2.3.5

like image 918
user80805 Avatar asked Oct 12 '10 16:10

user80805


People also ask

How do I know if RubyGems are installed?

Listing Installed Gems The list command shows your locally installed gems: $ gem list *** LOCAL GEMS *** abbrev (default: 0.1. 0) awesome_print (1.9.

Where are gems installed?

When you use the --user-install option, RubyGems will install the gems to a directory inside your home directory, something like ~/. gem/ruby/1.9. 1 . The commands provided by the gems you installed will end up in ~/.

How do I run a gem command?

Press Ctrl+Space to show the available gem executables. In this field, type the command line arguments of the script. Specify the working directory used by the running task. For example, this option is in effect when the running script loads other scripts by relative paths.


1 Answers

You can generate all rdoc of all of your gem with command :

gem rdoc --all
like image 139
shingara Avatar answered Sep 28 '22 04:09

shingara