Recent Changes - Search:

CIS 700

Software

Tutorials


PmWiki

pmwiki.org

edit SideBar

RDT (Ruby plugin for Eclipse)

If you go to http://www.rubypeople.org, visit the download section. There's a decent way of installing RDT using the Eclipse's own updater. This way, you get the update automatically.

Basically here's what you do: - Start Eclipse - Go to Help/Software Update/Find and Install... - Choose Search for new features to install, click next - (as of Eclipse 3.2) click New Remote Site... - Put the name you like in the name box - The URL should be either:

  = http://updatesite.rubypeople.org/release for release builds.
  = http://updatesite.rubypeople.org/integration for either the release, or release candidate builds.

- Click ok. - Check the box appear next to your newly created update site and click finish. - Follow the on screen instructions.

Go to http://sourceforge.net/projects/rubyeclipse and click the green Download Ruby Development Tool button. On the next page, click the green button. On the next page, click the file name (something like /rubyeclipse/org.rubypeople.rdt-0.8.0.604092300RC1.zip, but the numbers change frequently). On the next page choose a download site, preferably in the U.S., to get the zip file.

Windows: Copy the .zip file to your eclipse directory. Then, when you unzip the file, it will add stuff to your features and plugins subdirectories.

Note: If you want to use Eclipse's Debug Utility for Ruby projects, DO NOT install
Ruby version 1.8.4 because there is a bug causing the Debug utility to crash. The Eclipse Debugger works with Ruby version 1.8.2. If you already installed Ruby 1.8.4 or later you need to change the Installed Interpreter for Ruby in Eclipse. Below is a list of instructions to change the installed interpreter.
1.) In Eclipse, go to the Window menu.
2.) Select Preferences from the Window menu.
3.) From the left side panel, select Ruby by clicking the plus sign.
4.) Select Installed Interpreters.
5.) Click the ADD button to add a new interpreter.
6.) Browse to the appropriate directory and select the rubyw.exe file.
Example: C:\ruby\bin\rubyw.exe this is the path if you didn't change the install location.

Macintosh: When you unzip the file, you will get a folder named something like org.rubypeople.rdt-0.8.0.604092300RC1 Folder, which will contain two subfolders, features and plugins. Your Eclipse installation has folders with the same names. Copy the contents of the new features folder into Eclipse's features folder, and copy the contents of the new plugins folder into Eclipse's plugins folder.

To test if this worked, restart Eclipse and choose File --> New --> Other... and see if you now have a Ruby wizard.

There is a brief tutorial, Using the Ruby Development Tools plug-in for Eclipse, at http://www-128.ibm.com/developerworks/opensource/library/os-rubyeclipse/.

Edit - History - Print - Recent Changes - Search
Page last modified on February 12, 2007, at 01:09 PM