| Want to get ruby working in Eclipse for the first time? (DLTK 2.0) [message #557458] |
Tue, 07 September 2010 10:08  |
 |
michelle Messages: 87 Registered: April 2010 Location: South Africa |
Member |
|
|
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 01:48] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Re: Want to get ruby working in Eclipse for the first time? (DLTK 2.0) [message #987764 is a reply to message #766480] |
Tue, 27 November 2012 19:19  |
Marissa Rocks Messages: 1 Registered: November 2012 |
Junior Member |
|
|
Hello!
Here is a helpful guide (besides this thread ) to help you get started:
(http://)wiki.openqa.org/display/WTR/How+to+setup+Eclipse+for+Ruby
In step 7, it shows the DLTK packages you need to install. I will list them here also just in case!
Expand the "Dynamic Languages Toolkit (DLTK) 2.0" row
Check off:
(1) Dynamic Languages Toolkit - Core Frameworks
(2) Dynamic Languages Toolkit - Core Frameworks SDK
(3) Dynamic Languages Toolkit - Ruby Development Tools
(4) Dynamic Languages Toolkit - Ruby Development Tools SDK
Happy rubying!
[Updated on: Wed, 28 November 2012 10:54] by Moderator Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01682 seconds