Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Problem with new 'ri' (Was Re: New 'ri'): msg#00005

Subject: Problem with new 'ri' (Was Re: New 'ri')
On Jan 10, 2004, at 8:42 AM, Gavin Sinclair wrote:

On Saturday, January 10, 2004, 10:16:57 PM, Gavin wrote:

Has anyone been playing with the next-gen 'ri' that Dave is developing
in the CVS?  What are your experiences?

I haven't caught up with the very latest, but will try to do so soon.

Well, I've just installed the latest CVS, using

  configure --enable-install-doc

so that "make install" will automatically generate the RI data.

I did all this that, from the latest CVS:

        .../projects/Ruby/ruby> cvs update
        .../projects/Ruby/ruby> ./configure --enable-install-doc
        .../projects/Ruby/ruby> make
        .../projects/Ruby/ruby> make install

and at the end of the install process I see

Generating RDoc documentation
/usr/local/bin/ruby ./bin/rdoc --all --ri-system .
./bin/rdoc:59:in `require': No such file to load -- rdoc/rdoc (LoadError)
        from ./bin/rdoc:59
make: *** [install-doc] Error 1

Here's part of the problem, I think. I have an older version of rdoc

        ~> ls /usr/local/lib/ruby/
        1.8/            1.9/            site_ruby/
        ~> find . -name 'rdoc'
        ./site_ruby/1.8/rdoc
        ~> which rdoc
        /usr/local/bin/rdoc

...so it looks like the rdoc lib is in 1.8 but the CVS is up to version 1.9.

Any suggestions, anyone? Thanks for your help.

Jim
--
Jim Menard, jimm@xxxxxx, http://www.io.com/~jimm/
"SPOON!" -- The Tick's battle cry
"Not in the face!  Not in the face!" -- Arthur's battle cry





<Prev in Thread] Current Thread [Next in Thread>