Install Ruby plugin
The Ruby plugin extends IntelliJ IDEA with the full-scale functionality for Ruby development. To install the plugin, follow the steps below:
For the detailed information on how to work with Ruby, refer to the RubyMine help.
To work with the Ruby programming language, you need to download and install the required Ruby distribution: Download Ruby. IntelliJ IDEA automatically detects interpreters installed on a local machine and maintained by version managers. The following interpreters are supported:
Ruby MRI (version 1.8.7 and later)
Rubinius (without debugging)
TruffleRuby (without debugging)
For Rails projects, the following framework versions are supported:
Rails 3.2.x requires Ruby 1.8.7 or later.
Rails 4 requires Ruby 1.9.x or later.
Rails 5 requires Ruby 2.2.2 or later.
Rails 6 requires Ruby 2.5.0 or later.