Gem module documentation

Dave Fisk's Avatar

Dave Fisk

20 Mar, 2011 08:04 AM

I have been looking for documentation, like rdoc, for rubygems and the Gem module, to no avail.
gem server provides a www link to this site with everything about the gem command (very nice) but nothing about rubygems methods or the Gem module. One sees a passing comment like "use the gem method to set a specific version..." but how would you know there was a gem method? What other methods exist? One can have a look at Gem.methods. Where are these documented? How would one even know Gem exists save gleaning it from examples?

  1. Support Staff 2 Posted by Nick Quaranto on 24 Mar, 2011 01:59 PM

    Nick Quaranto's Avatar

    There's RDoc for Rubygems:

    http://rubygems.rubyforge.org/rubygems-update/

    And:

    http://docs.rubygems.org/

    If there's not enough docs, feel free to submit some patches! :)

    http://github.com/rubygems/rubygems

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac