Ruby, JRuby and Rails
You can get Ruby plug-in from http://plugins.intellij.net/plugin/?id=1293 or via IntelliJ IDEA Plug-in Manager.
IntelliJ IDEA supports Ruby, JRuby and Ruby on Rails, the open source Ruby framework, for productive Ruby on Rails application development.
IntelliJ IDEA is the smart Ruby and Ruby on Rails application development environment, with intelligent Ruby code editor, which provides the complete Ruby coding assistance, with smart Ruby code completion, Ruby syntax highlighting and other productivity-aimed features: on-the-fly code inspections, error highlighting, quick-fixes, refactorings, and intention actions. Plus, the built-in unit testing, JRuby support, RDoc lookup and live templates, and more.
Ruby and JRuby Support
JRuby support
IntelliJ IDEA supports JRuby for running Ruby applications, with cross-resolution of classes between Ruby and Java
Smart, scope based JRuby-aware Ruby code completion
IntelliJ IDEA provides intelligent code completion for Ruby language, which includes:
- Automatic completion of built-in methods
- Smart Ruby statements completion
- Completion and automatic resolution in require and load calls
Ruby code syntax and error highlighting
IntelliJ IDEA provides automatic Ruby code syntax and error highlighting for statements, keywords, comments and other language elements.

Automatic Ruby code styling
IntelliJ IDEA supports automatic Ruby code styling, with brace matching and folding, custom formatting, indentation and TODO marks.
Smart Ruby code analysis
IntelliJ IDEA performs on-the-fly code analysis and offers one-click quick-fixes for spotted problems.

Various Ruby-aware Intention Actions are available for transforming the source code.

Advanced Ruby code and project navigation
With IntelliJ IDEA you can navigate your Ruby projects in a variety of ways, view and examine documentation, method parameters, context info, etc.
- Ruby-aware structure view, quick structure popup
- Go to Ruby class, file, symbol and declaration actions

- Quick declaration view, context and method parameter info

- Ruby code documentation lookup with hyperlinks and navigation

- Quick overriding of classes, modules and methods with active navigation gutters
- Ruby code usage search for local variables, method parameters, class fields and constants
Multiple Ruby-aware refactorings
IntelliJ IDEA features the rich set of Ruby-aware refactorings, all ready to help you transform your project code quickly and efficiently:
- Rename refactoring (for classes, methods, variables, constants, method params etc.)
- Introduce variable
- Override method
Unit testing support
IntelliJ IDEA supports unit testing for Ruby projects, with:
- Quick tests launching for a specified method, class or set of tests
- Support for RSpec and Test::Unit frameworks

Dedicated Ruby run configuration and quick script execution
IntelliJ IDEA lets you quickly run your scripts through dedicated configuration, plus supports shortcuts for Rake tasks, generators, RSpec, etc.
Miscellaneous
- Stack trace analysis with one-click Ruby code navigation
- More than 50 Ruby and RSpec live templates
- Plugin page with plugin version, build and useful links in setting
Rails Support
RHTML support
IntelliJ IDEA fully supports RHTML, with smart code completion for both Ruby, JavaScript code and HTML tags.

It also provides automatic RHTML code styling and formatting, with braces and syntax highlighting and various RHTML-aware code inspections and quick-fixes.
Advanced Rails project navigation
IntelliJ IDEA features the smart Rails project navigation with dedicated structure views, one-click switching between views and controllers and quick context menus for calling Rake tasks.

Miscellaneous
- Dedicated Rails run configurations with support for standard Rails servers (WEBrick, Mongrel, etc)
- Automated generation of Rails skeleton applications
- Advanced tools for developing Rails generators, models, etc
- Quick insert action in action controller
