Read more

Access the documentation of all locally installed gems

Arne Hartherz
January 31, 2011Software engineer at makandra GmbH

In case https://www.rubydoc.info/ Show archive.org snapshot is to slow or offline, you can also read a gem documentation offline.

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

Start a server with gem server and go to http://0.0.0.0:8808/. Here you will find a list of all installed gems and it is possible to navigate to the documentation if installed e.g. http://0.0.0.0:8808/doc_root/rubocop-0.77.0/


In case you set the configured RubyGems to not install documentation by default, you need to add generate the documentation for the specific gem.

gem install rubocop --document

Known errors

undefined method `path=' for #<WEBrick::HTTPRequest:0x000055eb55fbff90>

Upgrade Show archive.org snapshot RDoc with gem update rdoc.

Posted by Arne Hartherz to makandra dev (2011-01-31 16:56)