How to use Eclipse for Ruby on Rails (RoR)

Ripon Al Wasim picture Ripon Al Wasim · Sep 11, 2012 · Viewed 93.3k times · Source

I am new in Ruby. I have installed Ruby on Rails on Windows 7. I visited the following to choose a suitable IDE/Editor for writing Ruby code:

http://rubyonrails.org/download

I found the following Editors for Ruby:

VIM for Rails, RadRails, RubyMine, 3rd Rail, Netbeans for Ruby

I am familiar with Eclipse as I am using Eclipse for java. Can I use Eclipse for Ruby? If so, what configuration is necessary in Eclipse for Ruby project?

Answer

Bryan Wolfford picture Bryan Wolfford · Jul 24, 2013

To save you some legwork, in Eclipse:

  1. Go to Help -> Install New Software...
  2. Click add (top right of popup)
  3. Enter a Name like "RadRails2"
  4. Enter the location as http://download.aptana.com/tools/radrails/plugin/install/radrails-bundle (for the full Aptana studio Studio 3, instead enter http://download.aptana.com/studio3/plugin/install)
  5. Click ok
  6. Restart Eclipse
  7. Go to Window -> Preferences. You will see Ruby is enlisted at left panel

You are done...

Now when you use the "New" menu, you'll have the option to make a Ruby project (among other things).