Where's the best RDoc resource?

Discussion in 'Ruby' started by T K, May 23, 2008.

  1. T K

    T K Guest

    T K, May 23, 2008
    #1
    1. Advertising

  2. T K

    Martin Boese Guest

    Best resource is your local machine:

    Run 'gem_server' and open http://localhost:8808/

    Alternatively you should find your rdoc html files for your gems (rails etc..)
    somewhere in /usr/lib/ruby/gems/1.8/doc .... (see 'gem environment GEM_PATH')

    If you don't want to use a mouse try 'ri' (e.g. 'ri ActiveRecord::Base')

    Martin


    On Friday 23 May 2008 08:23:13 T K wrote:
    > For Rails, I use
    > http://www.railsbrain.com/api/rails-2.0.2/doc/index.html .
    > Ajax-enhanced search system.
    >
    > But is there any alternative in Ruby? What do you do in exploring
    > RDoc? Do you use your mouse a lot?
    Martin Boese, May 23, 2008
    #2
    1. Advertising

  3. On Friday 23 May 2008, Martin Boese wrote:
    > Best resource is your local machine:
    >
    > Run 'gem_server' and open http://localhost:8808/
    >
    > Alternatively you should find your rdoc html files for your gems (rails
    > etc..) somewhere in /usr/lib/ruby/gems/1.8/doc .... (see 'gem environment
    > GEM_PATH')
    >
    > If you don't want to use a mouse try 'ri' (e.g. 'ri ActiveRecord::Base')


    Or hetter, install fast-ri:

    gem install fastri

    Stefano
    Stefano Crocco, May 23, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Schwarz
    Replies:
    6
    Views:
    251
    Randy W. Sims
    Jan 1, 2004
  2. Brian Schröder
    Replies:
    5
    Views:
    135
    Dave Thomas
    Sep 18, 2004
  3. Daniel Berger
    Replies:
    1
    Views:
    142
    Dave Thomas
    Nov 2, 2004
  4. Iwan van der Kleyn

    rdoc: how to add readme.rdoc as index.html?

    Iwan van der Kleyn, Apr 26, 2005, in forum: Ruby
    Replies:
    1
    Views:
    227
    Stefan Lang
    Apr 26, 2005
  5. Paul Van Delst

    How to use rdoc parsers outside of rdoc?

    Paul Van Delst, Jul 27, 2006, in forum: Ruby
    Replies:
    0
    Views:
    104
    Paul Van Delst
    Jul 27, 2006
Loading...

Share This Page