问题
I used to develop Java on the mac and it worked out well, combo of just using the terminal and IntelliJ. What are good tools that run on the mac for doing Ruby development
回答1:
Most of the Rails people develop on Macs and use TextMate. As a result, TextMate has great support for Ruby and Rails, and is probably the best text editor to use for developing Ruby code on the Mac.
回答2:
Netbeans is a fantastic choice with lots of good features for debugging, refactoring, db browsing, source control and lots more.
回答3:
I use emacs, which has a fine ruby mode.
回答4:
I'll second/third the Textmate recommendation. Calling it a text editor is doing a bit of disservice. Start off with this PDF that has some useful ruby/rails textmate shortcuts
回答5:
TextMate is an excellent editor, and is probably the best editor for Ruby code, as mipadi said. For an open source alternative, you could also try Smultron. It's a bit rough around the edges, but it does the job quite nicely.
回答6:
I love TextMate although have been flirting with NetBeans. If you like a full-featured (aka bloated) IDE, give it a try. Pretty nice: http://wiki.netbeans.org/Ruby
回答7:
JetBrains (the people behind IntelliJ) are working on an IDE specifically for Ruby on Rails: RubyMine.
回答8:
if you like vim, adding onto it with fuzzyfilefinder (http://github.com/jamis/fuzzy_file_finder/tree/master) and rails.vim (http://www.vim.org/scripts/script.php?script_id=1567) plugins provides a really nice experience.
if you don't like vim, textmate is a decent text editor.
回答9:
You have used IntelliJ already? You should probably take a look at the Ruby/Rails integration. It supports things like debugging, code analysis and refactorings, etc.
回答10:
TextMate is my favorite, but if you want code completion NetBeans is the best choice (Aptana/RedRails is outdated). Nightly builds of NB has a lot nicer OSX look and feel.
回答11:
If you're coming from *nix and you like Vim, then MacVim.
If you're coming from any other OS and/or you don't like Vim, then TextMate.
TextMate is not free, but it's well worth the €39. Trust me on this. It will pay for itself many, many times over.
回答12:
MacVim or AquaEmacs are really the best choice for people developing on Mac who want to get the most out of their editor: for people less particular, Textmate is the way to go.
I always recommend VIM/Emacs to anyone because
- They are not GUI based, which means everything they do is easily modifiable and scriptable
- They are much more easily extendable
- You can use them on a server
- They are generally faster as there is less code in between you and the underlying operating system
- They usually support more languages and varied development styles
- They are much more transparent and understandable as to what they are doing
- By necessity everything is accomplishable via a keyboard shortcut, so developing on them is faster
回答13:
Sublime Text 2, as recommended by a colleague (I don't have personal experience with it).
来源:https://stackoverflow.com/questions/744935/whats-a-good-ruby-development-environment-for-the-mac