How do I create a new ruby project in Eclipse indigo -
i have installed following: dynamic languages toolkit - ruby development tools 3.0.0.v20110424-7z--e_ekmyxo4k101442
on
eclipse platform version: 3.7.2 build id: i20110613-1736
but when go new projects, see no sign of "ruby projects". have file > new > projects opens wizard in have choice of general > project (only)
after goes through usual procedure of naming project , voila.
i have added new .rb file in project , see no interpreter kicking in ruby either.
so moment eclipse looks advanced notepad...
can point me i'm missing?
thank you
please follow steps below.
install ruby
install eclipse (ex: eclipse juno)
now, install dynamic languages toolkit (dltk)
- in eclipse go -> install new software
- click on add button
- enter name dltk
- enter location http://download.eclipse.org/technology/dltk/updates/
- click ok
select version , click on next button
complete installation
enabling ruby perspective:
in eclipse go window -> open perspective
select others..
select ruby , click on ok button
note: can save perspective window -> save perspective as..
adding ruby interpreter in eclipse:
in eclipse goto window -> preferences
select ruby -> interpreters
click on search button
select exe , click on ok button
hello world:
when above setup done correctly should see ruby project in file -> new
create new ruby project
add new class file
enter puts "hello world!!"
click on ruby script
you should able see hello world in console
happy ruby learning!!!
Comments
Post a Comment