问题
I've been using vim, but after reading this question was wondering what is being used in the linux world.
回答1:
There's also Netbeans: http://ruby.netbeans.org/
回答2:
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.
回答3:
I have used and really like Ruby Mine from JetBrains. It's been around since around 2008, here's the link for that: http://www.jetbrains.com/ruby/index.html
回答4:
I use Diakonos. Written in Ruby, you can script it with Ruby, and manipulate text with Ruby. No dependencies (except Ruby itself).
回答5:
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/
回答6:
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.
回答7:
I'm assuming you be using Ruby for the web? Aptana IDE with the RADRails plugin would have to be the best choice.
回答8:
I really like using Geany for ruby and rails work.
回答9:
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).
回答10:
It all depends on what you want.
I personally use vim 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 Ruby and linux, preferred setup? and https://stackoverflow.com/questions/59968/best-editor-for-ruby If I could close this question for being a dupe - I would.
回答11:
komodo Edit is the best choice.
来源:https://stackoverflow.com/questions/265601/what-ide-editor-do-you-use-for-ruby-on-linux