News Releases

RubyMine 2021.2 Released

RubyMine 2021.2

RubyMine 2021.2 is now available! Check out the highlights of this release below, or visit our What’s New page to learn about all of the latest features.

DOWNLOAD RUBYMINE 2021.2

Smarter search and refactoring

For projects using RBS, Go to declaration, Find usages, and Rename refactoring now work more precisely. RubyMine relies on RBS declarations to define how project entities relate to each other instead of showing all potential usages.

Improved search and refactoring

Improved Ruby code assistance

RubyMine uses RBS signatures to determine the types of Ruby elements and to provide more relevant code completion.

Version 2021.2 supports most of the existing RBS entities, including type variables, block parameters, tuple types, proc types, and more.

For parts of the code that do not have a related RBS type signature, RubyMine will still use its own type inference.

Improvements for projects using RBS

Code assistance for RBS files

RubyMine now provides code assistance for working with RBS files, including code completion, search for usages, code navigation, rename refactorings, and more. You can also create .rbs prototypes and your own live templates for RBS.

RBS code completion

New inspections

Access to information stored in .rbs files enables RubyMine to check Ruby code for more potential errors.

RubyMine will show a type error if there’s a mismatch between the RBS and Ruby code. This version also adds new inspections for .rbs files themselves, including for incorrect code and unresolved references.

RubyMine also supports running Steep commands using Run anything.

New inspections


See the release notes for the full list of closed tickets, and please let us know if you have any issues.

Check out the What’s new page to learn about user experience improvements, new features in the code editor and debugger, version control integration, and more.

Happy developing!
The RubyMine team

image description