I've heard so much about Textmate - The Missing Editor for Mac and that it is the best one for Ruby.
What is your choice?
And what is the best Ruby editor on Windows?
E?
I've heard so much about Textmate - The Missing Editor for Mac and that it is the best one for Ruby.
What is your choice?
And what is the best Ruby editor on Windows?
E?
I use and love Textmate.
However, a colleague of mine has been jumping all over vim with a Ruby on Rails plugin that does syntax hi-liting and all manner of magic.
I think with proper training, though, the macro-system in textmate can allow for near as efficient keyboarding as vim.
On Windows, I use TextPad (www.textpad.com). It has lots of plugins that I like. It very quickly can search for text in entire directory trees and has some very nice memory management (open a 30MB file in Notepad vs. Textpad and you'll see what I mean!!)
SciTE is the one that comes with the rubyforge installer which has worked fairly well for me.
Scott Hanselman has a updated version of Notepad2 which supports ruby syntax highlighting.
And don't forget Ruby in Steel and NetBeans if you're looking for a more full fledged IDE.
The One True Editor, but only if you have time to futz with it. There are ruby- and snippet-modes available, but you have to configure them yourself.
For me, on the Mac it definitely has to be TextMate.
You may want to check out the TextMate clone for Windows, E-TextEditor.
I love Vim with rails.vim and snippetsEmu to get TextMate-like bundles.
IntelliJ is good for doing Ruby and Rails development. The included subversion diffing tools are fantastic.
I've spent (wasted?) a lot of time in the last few years, and gone through them all (including Jedit, e-text editor, Aptana, Scite, FreeRide to name a few) looking for the perfect editor.
And I have now ended up back with the absolute basics. All I need is syntax highlighting (with a colour scheme that's easy on the eyes) and a folder view for my project inside the editor.
So I use GEdit in Linux, pimped using this guide, and Notepad++ in Windows (also sometimes in WINE in linux) Notepad++ syntax colouring is easy to modify from within the program and my syntax scheme is available here
Now instead of testing and playing with editors I actually write code :)
+1 for E
It does more bugs than most other editors I've used, but taking those into account, I think it still comes out ahead of any of the other editors I've used
NetBeans 6.1+ is actually very good for Ruby. It has a decent syntax highlighted editor that does its best to understand your code, highlighting syntax errors and offering fixes for certain classes of problem (but you can turn those off). You can ctrl-click on identifiers to leap to the definition (most of the time) and there's decent completion.
Aside from the editor, it has decent support for running and debugging your apps.
I have heard good things about komodo.
Its not free, but neither is textmate.
Try Notepad++. It has a lot of usefull features along with colorer and intellisense. And its free.
Try Aptana Studio. It's a big shot indeed as it is Eclipse based but it's full blown with features, syntax highlighting, code completion and refactoring support.
Hey for running and debugging ruby scripts better use "Ruby in Steel" this is better IDE you can use with Visual Studio 2005/8 and next you can try Eclipse and Netbeans IDE.. Just see the link for your refrence
Textmate is nice, although it's only available on OS X and it's not open source. I find customizing it to be easy, up to a point.
However, I've been using NetBeans for a few months for Ruby and have grown to love it. Its syntax checking and navigation abilities are great. The plugin community is large, and for mixed projects (JRuby with some Java), I can't imagine using something else.
Activestate, they make Komodo which is really good, they also make a free variant that is just as powerful in all aspects, except for pro debugging and such.
It is Called Activestate Edit. Quite good.
Coda from Panic on Mac is also quite good, especially given that you can do remote edits just like it was local, even over ssh and weird ports. I wish Textmate would have that feature. But as a ruby on rails editor, there is just Textmate and E-Texteditor.
Even if you pick a GUI as a primary editor(I prefer Textmate, or GEdit dressed up as Textmate) you should spend some time getting to know one of the simple command line editors like VI or Nano. You really don't want to be trying to get to know a new editor while you're debugging something over an ssh connection. Nano is readily available in most package management repositories and has onscreen hints about what commands are available.
I have tried a lot of windows editor, but for the moment I settled on PSPad. It supports highlighting for ruby, rails and rhtml almost out of the box. It is reasonably lightweight, allows for ineditor file browsing, has limited autocomplete capability.
Though it is only distributed through an installer, you can actually copy the directory and have it run anywhere without installing it.
It can be found here : PSPad
Emacs has syntax highlighting and code completion for Ruby and Rails. It is also rad.
If you want to be a programmer for the rest of your life, and you want to have an editor you can take to any platform, vi and emacs are for you. VI is easy to learn and simple to use. Emacs is difficult to learn, but incredibly powerful to use.
For a full IDE, Netbeans is great. The debug power is awesome. Textmate is also nice for text editor only.
Coming from the java/intellij world, I needed a more full-featured ide for my development. I have found netbeans to be the ide that fits my rails development the best. It offers common things like syntax highlighting, autocomletion, ability to run rake tasks, and an integrated debugger.
I've tried a ton of editors then started using TextMate since it came out. Since then, I've occasionally tried others, but have always come back to TextMate. The bundles system awesome, it's quick start-up time and non-bloated-IDE feel have me convinced it's the best, most productive editor for Ruby available.
I tried all the IDE style tools, and Sun's NetBeans has the best Ruby support by far. It also has good debugger support. But, in the end I reverted to TextMate because all the IDEs are built in Java and just run slow. I never noticed it so much when doing Java work, but it really bugged me after doing Ruby for a while. The native tools are just a lot faster and my expectations for speed came to match that experience.
NetBeans from Sun, with the Ruby package. Syntax highlighting, auto complete, debugging support, unit test support. Plus it's multiplatform and free.
I just love NetBeans, and because they have full support for Ruby, I would give you NetBeans as my recommendation.
I use TextMate on my Mac. It does a pretty good job as a general purpose editor, and works well with Ruby. It does syntax highlighting, etc, and has a file explorer built in. So if I have a rails project in a directory called MyWebSite, from the command line I just type:
mate MyWebSite
TextMate opens up with its built-in file explorer showing all of my project files. I love that feature since so much of Rails takes place on the command line anyway.
There are several discussions on this very subject here on SO:
what-ide-to-use-for-developing-in-ruby-on-rails-on-windows
Might want to check these out.
Has anyone tried 3rdRail by CodeGear. Looks pretty nice. http://www.codegear.com/products/3rdrail
emacs, run fast from eclipse and eclipse based IDE's. my experience has been huge memory leaks in the jvm when using them.
BBEdit, especially now that verion 9 is out (better project support, non-modal find, diff-by-character).
I tried (briefly, I admit) using TextMate, and I could see how strong it was as an editor, but in the short time I was using it the anti-aliased text drove me nuts. Sure, the text display settings can be changed, but though I put some effort into switching to Monaco 11pt non-anti-aliased, I could not get it to not look like ass. In the end, this was mostly due to the default profile's use of boldface and italic text, which looked horrible when anti-aliasing was turned off. There may be an easy way to go through and remove that kind of text styling in one step, but I couldn't find it, and I didn't want to deal with manually tweaking the profile to exclude it.
I have recently started working with Ruby on Rails. One thing I like about RoR is that you don't have to be tied to any specific IDE to be productive. You can start working with any text editor which you have experience with. As I have been developing on Windows platforms for long time, i have explored all different text editors from notepad2, notepad++, pspad, programmer's editor, textpad, editpad, editplus, e-text editor. My favorite text editor so far for any programming and text tasks is notepad++.
In recent months, I am starting to use VIM. Initial learning curve is steep (if you are windows person). but as you learn and configure VIM the way you like it, it will become center piece of your development.
Specifically for Ruby, get VIM with RubyonRails plugin. Don't forget to download NERDTree for better file explorer in VIM.
Aptana Studio community edition is best if you require IDE.
Hope this helps.
Preface: all these are my personal opinions
On Mac
On Windows
CLI
Emacs with ruby-mode is my favorite. It's available for Linux, Mac & Windows and is my personal IDE for all programming languages I've worked in for the last 6+ years. Emacs can be intimidating at first (goofy keyboard combos for all the commands), but once you've passed the "beginner" stage via tutorials, you wont go back.
On windows I use Aptana with the Radrails plugin, but the best way to go is to get a Mac and Textmate.
for what its worth, i am developing on Vista at home, and XP at work.
I was using Notepad++, but i have recently changed to SCITE, and i find it great for Ruby.
Ive also begun using Emacs, difficult to begin with, but useful too.
This will depend on your style of coding.
If you like Java style with full IDE and in-editor debugging, Aptana with Radrails works pretty well on Mac/Windows. It also has the added bonus of having lots of helpers built in, so it makes it easier to get started.
Personally though, I love Textmate (for mac; I used E before that on Windows). It loads super fast, and can run tests easily with great syntax coloring and useful code completion. If you want to do the whole debugging thing you can still use "debugger" rather than just checking off a line like with Aptana. If you're using something like Autotest for testing though, this makes a lot more sense than a full IDE.
I currently use NetBeans on a MAC and haven't had any issues at all. Speed hasn't been a problem for me. If you don't like NetBeans, JetBrains has just released RubyMine (see: http://www.jetbrains.com/ruby/index.html). RubyMine is a pretty cool IDE, but I don't see any reason to switch from NetBeans, as someone wrote, RoR is IDE-Agnostic, so pick what you like best and keep it movin'...
I toggle between the Ruby-Enhanced version of Notepad2 and Sapphire Steel depending on what project I work on.
For Windows? Really, don't bother with E-TextEditor... it's a nice idea and a good feature set (thanks to TextMate!), but it is waaaay too buggy.
Since getting a recommendation from a Twitterite, I switched to Sublime Text (http://www.sublimetext.com/) and find it delightful.
My choice for Mac is definitely TextMate.
For Linux i may use Vim or Gedit.
I use NetBeans at work and e at home. I've considered switching to RubyMine, has anyone tried it?
First of all, I would strongly advise against Rails development on Windows. It will be very painful. You will want to spin up a Linux Virtual Box at the very least. As for IDE you really can't be Vim in my opinion. Especially with the right set of plugins. I have been very fortunate to work with Tim Pope who writes a lot of the plugins out there for Vim. I have a tutorial on setting up Vim for Rails development on my blog. http://www.adamlowe.me/2009/12/vim-destroys-all-other-rails-editors.html
If you are looking for a IDE I suggest you try out at least netbeans and rubymine. Both are great IDEs.
I use aptana radrails bundle. Its free, fast, and easy.
I also use notepad++ and Scite
https://spreadsheets.google.com/ccc?key=0Al_hzYODcgxwdG9tUFhqcVVoUDVaLTlqT2YtNjV1N0E&hl=en#gid=1 lists several you can try
macVim(or gVim) + Project plugin + snipmate plugin + awesome colorscheme = heaven for any project!
There's an open source Ruby-based text editor being advertised on StackOverflow at the moment called Redcar. Look at the screenshots and you can see it supports Rails.