%userprofile%\.gemrc for Hanna template:
gem: --no-ri # Needs --inline-source, otherwise uninitialized constant Doc::Generator::HTML::HANNA::SRC_PAGE rdoc: --inline-source --format=html --template=hanna
# Remove ri - many many files I never use. require 'find' require 'rubygems' require 'fileutils' Find.find(Gem.dir + '/doc') do |path| next unless path =~ /\/ri$/ puts path FileUtils.rm_rf(path) end
One way to access the ruby gem documentation quickly is gem server which starts a http server at http://localhost:8808. This does not work on my Vista laptop, which prefers http://127.0.0.1:8808/. What disturbs me is another busy server console along the rails console and 5 others which I keep open. Recently I came accross the bdoc gem, which links to my rdocs on the fly using jQueried html.