Best IDEs for Ruby on Rails

What are your favorite IDEs for Ruby on Rails? Are there any good IDEs that IMMEDIATELY flag problems the way Eclipse does in Android development? Given the importance of testing, I’d like to use a tool that immediately and automatically flags problems.

Hi jason, There are several IDEs available for Rails development. You can try Aptana RedRails, JetBrains RubyMine. But most of the developer are following sublimetext , eMac, TextMate,Gedit,VIM i.e. light weight software.

Hope this helpful to you.

Most rails developers (I believe) recommend not to use an IDE, but to use a good editor with ruby parsing and project management capabilities (such as jedit, but there are many others) and to use the command line for the rest. An IDE just isolates you from the command line so that when something goes wrong it can be difficult to analyse. Also you will generally find it easier to get help if you are using the command line.

Colin

I’ve bought RubyMine. It has very convinient tools for working with code but better work with RM on fast computer.

We are using RubyMine. if i need something lightweight I use Vim or TextMate. RM has the ability to run the server, to debug and step through code, git integration - lots of great features. It's a memory hog (I boosted my Mac up to 16G RAM) but the newer versions have been better than the older ones.

FWIW

Take a look to Aptana (http://www.aptana.com/) and Komodo (http://www.activestate.com/komodo-ide)

Redcar completely suits me as a free highlighting editor with a good file browser and multiple display tabs and side by side editing.

RubyMine 5.0.2 Fabulous IDE, excellent value for money, superb debugging with code coverage and VCS integration, stack analysis, object tree view, model diagrams, db integration and lots more.

I think the obsession with the command line just overwhelms you with detail, a bit like looking at the hex generated by assembler. Do not be fooled by this obsessive elitism.

Give it a try free, also the support is really quick.

John

unknown wrote in post #1102265:

RubyMine 5.0.2 Fabulous IDE, excellent value for money, superb debugging with code coverage and VCS integration, stack analysis, object tree view, model diagrams, db integration and lots more.

I think the obsession with the command line just overwhelms you with detail, a bit like looking at the hex generated by assembler. Do not be fooled by this obsessive elitism.

Give it a try free, also the support is really quick.

John

How is the RSpec support? Do you still have to use the cmd line to run rspec, or can you do so directly from editor? I am finding this impossible to setup on sublime text 3. Aside from that, ST3 has been really nice.

This might help?

http://docs.sublimetext.info/en/latest/reference/build_systems.html#file-format

When I was using an IDE for this, it was Aptana, which has a shell built in (and most of the other standard extra IDE gubbins, which if you’re otherwise happy with ST, you probably don’t want). Code completion is good also.

Personally, I like running commands from the shell, but I suppose it’s a matter of taste.

I use sublime. I think it’s very cool.

Sublime is very cool, particularly with some neat features such as symbol lookup, and plugins (rspec, haml / slim, coffeescript, etc)

I have tried many editors / IDEs and I always fall back to sublime text.

Sublime Text is quite impressive, but I could not switch to it after having used emacs for a while. I’m aware emacs is rather difficult to grasp, at least at the beginning, but it’s so customizable and great for productivity I sincerely doubt I’ll ever use anything else for any programming language.

However, emacs does not come with rails-specific plugins and it requires some tweaking before it can be used as a complete development environment. If you are feeling adventurous, however, by all means check this splendid post about configuring emacs for rails: http://crypt.codemancers.com/posts/2013-09-26-setting-up-emacs-as-development-environment-on-osx/

arca0 wrote in post #1133269:

Sublime Text is quite impressive, but I could not switch to it after having used emacs for a while. I'm aware emacs is rather difficult to grasp, at least at the beginning, but it's so customizable and great for productivity I sincerely doubt I'll ever use anything else for any programming language.

However, emacs does not come with rails-specific plugins and it requires some tweaking before it can be used as a complete development environment. If you are feeling adventurous, however, by all means check this splendid post about configuring emacs for rails: http://crypt.codemancers.com/posts/2013-09-26-setting-up-emacs-as-development-environment-on-osx/

Sublime Text is impressive coding editor. I use it for PHP development. But for Ruby on Rails I don't think it is a good choice. Instead, I use RubyMine (of course, it's not free): http://petadl.com/download-rubymine-mac-best-ide-for-ruby-on-rails-development-v6-0-3.html

A good free replacement for RubyMine I found Netbeans with JRuby. You should give it a try!

I use tmux+vim and it as good as any IDE and more customizable.

I also use Vim. I couldn't imagine using any other editor.

Tim Pope has some great Ruby/Rails plugins for Vim on Github.

Cheers,

  Phil...

Tmux + Vim + Some plugins - It’s better than any IDE.

Vim + a lot of configs and plugins: https://github.com/skwp/dotfiles

Rubymine is very good to start, but it is heavy.

We are developing tools for ruby and rails and released a plugin for sublime for searching symbols:

It’s based on a global index we are building for open source ruby code so that you can accurately search for examples of a particular class, method etc. The plugin is at a starting point but we hope to develop it further. I like emacs too and we are thinking about also making plugins for emacs and vim.

Let us know what you think.

That’s true. I used RubyMine to develop the Ruby part in my project and it was much more helpful than editors and command line. I developed program analysis tools for languages, so I know how much more advanced are IDEs compared to text editors. They are qualitatively different. JetBrains does a great job.