Preferred Ruby plugin for Eclipse? [closed]
Solution 1:
Try the Dynamic Languages Toolkit for Ruby. It's available from Eclipse's Software Updates panel.
Update May 2020: Ruby support was dropped in DLTK 6.0 in favour of Eclipse Solargraph.
Solution 2:
Good question. I've used Aptana/radrails, and that's definitely one to steer clear of.
It writes a database in whatever directory you happen to start Eclipse from, and generally takes over Eclipse, changing a lot of useful key bindings.
One of the most irritating things is that Ctrl-1 stops working in Java files, and that's a hotkey I use all the time.
I'm looking forward to hearing people's answers on this one, because I'd like to know of a good one.
Solution 3:
Looks like the update site is here: http://download.eclipse.org/technology/dltk/updates/
I found it on www.eclipse.org/dltk/install.php
Solution 4:
I faced this problem after installing aptana studio plugin for Eclipse. So, I decided to try dynamic languages toolkit for eclipse.
If you want to uninstall the aptana plugin: Eclipse > Help > About Eclipse > Installation Details > Installed Software tab > Aptana plugin > Uninstall. This should do a clean, frustration free uninstall.
Now, lets install the DLTK plugin.
Go to link - http://marketplace.eclipse.org/content/ruby-dltk. Press the green down arrow. copy the link from popup.
Eclipse > help > install new software > work with = copied link.
Now you see a list of plugins. In that list,expand the Programming Languages > check the box: Dynamic languages toolkit - Ruby Development Tools > press button: next > obvious steps.
After this, install the RubyInstaller for windows at http://rubyinstaller.org/ Find the location of ruby.exe created by this installation. You will need this to set the ruby interpreter when you create your first eclipse ruby project.
Once you successfully create a Ruby project, eclipse asks you if you want to open the ruby perspective. Say ok. To test if it works, create ruby project, then create an empty ruby script inside this project. Then execute this command puts "hello ruby"
as a ruby script. Enjoy sparkling ruby !
Solution 5:
I have used Aptana/RadRails in the past and thouroghly enjoyed it. I suggest giving it a try. There is a standalone Eclipse plugin available that supports non-Rails projects decently as well if that's what you're going for.
My only experience with Eclipse was through Aptana, however, so there may be other considerations.