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.

  1. install ruby

  2. install eclipse (ex: eclipse juno)

  3. now, install dynamic languages toolkit (dltk)

  4. select version , click on next button

  5. complete installation

enabling ruby perspective:

  1. in eclipse go window -> open perspective

  2. select others..

  3. select ruby , click on ok button

note: can save perspective window -> save perspective as..

adding ruby interpreter in eclipse:

  1. in eclipse goto window -> preferences

  2. select ruby -> interpreters

  3. click on search button

  4. select exe , click on ok button

hello world:

when above setup done correctly should see ruby project in file -> new

  1. create new ruby project

  2. add new class file

  3. enter puts "hello world!!"

  4. click on ruby script

  5. you should able see hello world in console

happy ruby learning!!!


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

c++ - End of file on pipe magic during open -