RubyMine 2.0.2

April 28, 2010

This IDE update fixes some reported issues, introduces compatibility with some latest Ruby/Rails development libraries and tools, and improves exiting integrations:

  • RVM gemsets support added
  • Bundler gem is supported up to version 0.9
  • RubyMine now bundles pre-compiled ruby-debug gem for Windows users of Ruby 1.8
  • HAML markup smarter auto-Indentation and other HAML enhancements
  • Cucumber support improvements and fixes
  • 30-day evaluation license is now built-in with RubyMine—no need to fill a form on the Web to evaluate.

See the complete list of changes.

RubyMine 2.0.1

January 19, 2010

Minor IDE stability and performance update that also adds Bundler gem support and ensures IDE compatibility with the latest Ruby on Rails (2.3.5) and Cucumber (v0.5.x).

See the complete list of changes in RubyMine bug/issue tracker, read announcement in RubyMine blog.

RubyMine 2.0 — Free Major Upgrade

November 16, 2009

The Cutting Edge with Ruby 1.9 and Latest Rails

Want to stay on the cutting edge with Ruby 1.9 and the latest Rails? Not a problem with RubyMine. RubyMine knows the new lambda syntax, local variables semantics, new method parameters declarations, and works flawlessly with projects using the latest Rails framework.

New Refactorings and Code Duplicates Detection

Refactoring Ruby is challenging? Yes, but not impossible! With RubyMine refactoring is even simple.

Keep your code in a good shape with new refactorings:

  • Introduce Constant
  • Introduce Field
  • Inline Variable
  • Pull Up Members / Push Down Members
  • Extract Module
  • Extract Superclass
RubyMine: inplace local variable rename

In-place rename for Ruby code is a fast and convenient way to make code better through a simple rename refactoring.

Duplicates detection mechanism helps you find code-smells in your projects for further refactoring.

Easier Testing with Cucumber, Shoulda and RSpec

Cucumber scenarios are considered as important as code and gain productivity features such as:

RubyMine: Cucumber step code completion
  • steps completion from available step definitions
  • checking steps against definitions
  • quick 'Go to step definition' navigation
  • creating step definition via quick-fix
  • automatic examples creation via quick-fix

RSpec support is improved with smarter code insight, support for mocking frameworks and Spork DRb server.

With full support for Shoulda added to the existing stack, RubyMine is ready for whatever testing framework you decide to use in your Ruby/Rails projects.

RubyMine: Shoulda code completion

Web Pages Building With HAML and Sass

RubyMine: Ruby code completion in HAML

HAML indentation based syntax works great for Rails views, looks concise and promotes the DRY principle.
RubyMine 2.0 understands Ruby code inside HAML, provides code completion, snippets and code analysis for Ruby blocks.

But HAML would be incomplete without Sass. Sass support backed up with RubyMine's initial CSS editing features makes it possible to create great Syntactically Awesome Stylesheets for Rails web applications.

New Code Inspections and 'Quick Fix' Actions

RubyMine's code analysis became much smarter and with the new 'Unused local variable' inspection you can make your Ruby code cleaner.

You can also hide RubyMine's inspections warnings by adding suppress comments to your code.

RubyMine: unused variable Ruby warning RubyMine: suppress IDE warning

New quick-fixes allow creating many project elements from their usage, such as new method, action, partial, JavaScript or CSS file. Just refer a non-existing element in your code and invoke quick-fix on it using the hotkey.

RubyMine: create partial from usage RubyMine: create action from usage

Rails i18n and Spell-checker

Preparing your existing applications for multi-language auditory is a matter of executing a quick-fix on its string literals. Strings are auto-copied to a corresponding YML file and replaced with Rails translate() method.

RubyMine: Rails i18n. Internationalize string RubyMine: Rails i18n. Create i18n property

You can quickly go to property definitions, perform find usages for property keys, and rename them using the usual rename refactoring.

RubyMine: Rails i18n. Go to property definition RubyMine: Rails i18n. Property completion

Completely reworked YAML editing support allows comfortable editing of internationalization property files (*.yml).

Integrated spellchecker checks your strings — no more misprints on your application pages.

Spell-checker also verifies variables and method names and is smart enough to understand multi-word Ruby-style names. So, your colleagues will not be puzzled by a misspelled method name.

RubyMine: Spellchecker RubyMine: fix spelling errors

To fix a misspelling just select 'Rename to...' from quick-fix and refactor with correct name auto-suggested from the standard and your own dictionaries.

Extending IDE Scripts in Ruby

RubyMine can be extended with Ruby scripts. Some default functionality is already implemented in Ruby in form of such extensions. You can manage your own and default extensions using the integrated Extensions Manager.

RubyMine Ruby Extensions Manager RubyMine Extensions Menu

Improved RubyMine UI and Usability

RubyMine: Run/Debug popup

Use new Run/Debug popup. After getting used to it, lighten up UI or RubyMine IDE by turning off the main toolbar.

Use Tab-Switcher to quickly switch between editor tabs and IDE tool-windows.

RubyMine: switcher popup

Assign background colors for displaying names of project files and folders of specific scopes. The colors are applied to the editor tabs headers and the other elements where files are listed.

RubyMine: custom file background colors

Background enabled file-indexing allows to start working with IDE faster when opening big projects..

RubyMine: backgound indexing

Copy/paste for files and folders now work between RubyMine and Explorer/Finder.

Continuous Integration with TeamCity

JetBrains TeamCity is a continuous integration and build management system. It is used internally for all our products and is tightly integrated with all our tools: IntelliJ IDEA, ReSharper, YouTrack.

TeamCity provides 'Rake runner' with support for RSpec, Cucumber, Test::Unit, Shoulda and Test::Spec.

RubyMine 2.0 becomes fully integrated with TeamCity through a special IDE plugin that provides:

  • Running builds
  • Build statistics review
  • Pre-tested commits
  • Option to open files in the IDE from TeamCity web UI
Read more about TeamCity.

to the top

Download RubyMine (30-day fully functional evaluation).