views:

5133

answers:

12

I've been using vim, but after reading this question was wondering what is being used in the linux world.

+1  A: 

I use Eclipse with Aptana RadRails: http://aptana.com/rails

but if you need only Ruby you can use RDT instead: http://rubyeclipse.sourceforge.net/

t3mujin
Isn't RDT discontinued now and the lead developer hired by Aptana to incorporate his work into Aptana's RadRails?
Adam
Yes, but I think you still can install RDT separately from Aptana Rails, which makes sense if you're only using ruby
t3mujin
A: 

komodo Edit is the best choice.

+5  A: 

see the exact question: Ruby and linux, prefered setup?.

David Nehme
+2  A: 

I heard a lot of good things yesterday about Ruby Mine from JetBrains. It's in public preview release right now, here's the link for that: http://www.jetbrains.com/ruby/index.html

Chris Missal
+4  A: 

There's also Netbeans: http://ruby.netbeans.org/

t3mujin
NetBeans 6.5 is scheduled to ship on November 20, 2008.
Ed.T
+1  A: 

If you'd rather be using a light text editor instead of a heavy IDE, then I'd highly recommend going with GEdit with some additional plugins.

Here's an excellent guide on how to turn your GEdit into a "Linux Textmate":

Pimp My GEdit

If you want more of a IDE, then Netbeans is the current benchmark for Ruby IDEs.

Dema
+2  A: 

I use Diakonos. Written in Ruby, you can script it with Ruby, and manipulate text with Ruby. No dependencies (except Ruby itself).

Pistos
A: 

I'm surprised no one has mentioned jEdit - it has a whole slew of plugins for Ruby, and unlike many other editors with Ruby support, it is very stable. There are edit modes + syntax coloration for erb, rb, javascript, haml, etc. etc. I have it set up basically to mimic TextMate, with some Eclipse-isms. It doesn't do code completion to the nines, but it does at least try to complete from the current buffer. It also has very extensible key stroke configurations and the ability to record/playback macros.

A: 

I'm assuming you be using Ruby for the web? Aptana IDE with the RADRails plugin would have to be the best choice.

Godcode
A: 

I really like using Geany for ruby and rails work.

A: 

It all depends on what you want.

I personally use nano as an editor as the default ruby tools as the rest of my IDE.

If you are looking for a more "heavyweight" IDE look at Eclipse (http://rubyeclipse.sourceforge.net/) or netbeans (Google for link). There are a number of in-the-middle options which behave differently and have different features. Google is your best best when it comes to these.

Also - please see http://stackoverflow.com/questions/253982/ruby-and-linux-prefered-setup and http://stackoverflow.com/questions/59968/best-editor-for-ruby If I could close this question for being a dupe - I would.

Good Person
+1  A: 

I wouldn't affirm an IDE is better than other. Everyone has its pros an cons. When I'm lazy I'd use Netbeans because it's comprehensive. An overkill in computer resources, but usefull if you are learning. I've had bad comments about Aptana... maybe some of you that recommend this may have to convince me otherwise.

GEdit + Rails plugin may be a good alternative. And VIM is awfully powerfull but the learning curve is steeper (but once you get the taste of it, productivity will increase for sure).

ferparra
+1 because, to misquote WC. Fields, anyone who hates dogs and Aptana, can't be all bad. ;)
Don Branson