How to set up the RI view for RDoc in Ruby RDT for Eclipse?

R

rubynuby

Could someone tell me how to make the RI view in the Eclipse Ruby RDT
show RDocs? I installed the Ruby-mswin32 Windows binaries and changed
the RDT prefs to point to the ri.bat and rdoc.bat files in the bin
directory. When I go to the RI view, it says that RDoc/RI are not
installed.
From the command line, running ri gives me docs on an arbitrary topic
so I suppose the RDT should be able to do the same, no?

Much appreciated.
 
Z

Zach Dennis

rubynuby said:
Could someone tell me how to make the RI view in the Eclipse Ruby RDT
show RDocs? I installed the Ruby-mswin32 Windows binaries and changed
the RDT prefs to point to the ri.bat and rdoc.bat files in the bin
directory. When I go to the RI view, it says that RDoc/RI are not
installed.

so I suppose the RDT should be able to do the same, no?

Much appreciated.

I get this same issue on Winxp and I've been having problems getting it
up on my Ubuntu systems.... I'll check it out later this week and see if
there is a workaround or if a fix will have to be committed...

Zach
--rdt devel team
 
R

rubynuby

Zach,

Did you get a chance to look at this issue? I've updated to the latest
(Nov. 22) developer version of RDT and it still tells me that RI and
RDoc are not installed.

Thanks,
Adrian
 
H

Hendie Dijkman

Two points:

1. You have to configure the Ruby interpreter under Ruby -> Installed
Interpreters, this has to be the full executable name (mine is:
C:\InstantRails\ruby\bin\ruby.exe, assuming WinXP here!)

2. For ri and rdoc, configure under Ruby -> Ri/rdoc, and supply full
pathname to the script files (NOT the .bat files), like: Ri path:
C:\InstantRails\ruby\bin\ri .

After this you should be able to see the ri docs under the Ri view in eclip=
se!

Enjoy!

H.
 
Z

zdennis

rubynuby said:
Zach,

Did you get a chance to look at this issue? I've updated to the latest
(Nov. 22) developer version of RDT and it still tells me that RI and
RDoc are not installed.

Thanks,
Adrian

No, i haven't yet. My cpu died on my server at home, I should be getting
the replacement in today. This is still on my list of todos, I haven't
forgotten. I apologize for the wait!

Zach
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,144
Latest member
KetoBaseReviews
Top