Want to get ruby working in Eclipse for the first time? (DLTK 2.0) [message #557458] |
Tue, 07 September 2010 14:08 |
|
In case I am not the only one who doesn't find ruby obvious to install, here's a HOW TO get ruby working in you eclipse IDE. (based on what I did - but please feel free to add/correct anything if needed) I'm wondering if anyone will ever use this...either or it still makes me feel good in trying to contribute back just some of the help I have recieved on these forums. thanks michelle
- I am going to assume you have Eclipse Helios installed
- Now to install the "DLTK - ruby stuff" open Eclipse > help > install new software... and then install everything shown in this screenshot here with the URL http://download.eclipse.org/technology/dltk/updates/
- Now you would think that would mean (or at least I did) that you automatically also get the ruby interpreter installed. But it doesn't. Eclipse mearly now has the abiltiy to support ruby application development. So go get the ruby interpreter installed, for windows just use the one click installer here
- Now you have to let eclipse know about your new ruby interpreter which you installed. So open Eclipse > window > open perspectives > choose Ruby perspective. Now that you're in the ruby perspective, Window > preferences > ruby > interpreters > click SEARCH and you should be able to both see and put a check-mark in "ruby.exe". Great.
- Last step - try it out.
File > New > Ruby Project click through that and make a project.
Add an empty ruby script to your project, File > New > Empty Ruby Script and write in puts 'yipeee ruby is working in eclipse'
Click on Run As and select "ruby script"... in the consile you should see the message yipeee ruby is working in eclipse
[Updated on: Thu, 18 August 2011 05:48] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03704 seconds