|
CIS 700 Software
Tutorials
|
Main /
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 Windows: Copy the 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 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/. |