What’s New in RubyMine 2025.1

AI features for Ruby and RBS, improved Ruby 3.4 support, Kamal schema updates, options to disable auto-reloading of Rails generators and Rake tasks, new formatting option, notifications on Rails generator loading errors, and more.

AI Assistant

AI Assistant major upgrade

JetBrains AI Assistant has received a major upgrade, making AI-powered development more accessible and efficient. With this release, all JetBrains AI features are accessible for free in RubyMine, with unlimited use for some, such as unlimited code completion and local model support, and limited credit-based access to others. We're also introducing a new subscription system that makes it easy to scale up as needed with the AI Pro and AI Ultimate tiers. Watch our video to learn more.

AI Assistant support for RBS

RubyMine 2025.1 further expands the powers of the JetBrains AI Assistant plugin, now supported for the RBS language:


New model used for cloud-based code completion

We now use JetBrains’ new Mellum model to support AI suggestions for RBS. This improvement ensures faster code generation and allows you to filter out invalid suggestions.


Inline prompts

You can now use natural language prompts directly in the editor to enhance your RBS coding with the help of AI Assistant.

Annotator support

RubyMine 2025.1 comes with support for annotators, enabling error inspections and syntax highlighting in AI code suggestions.

Smarter AI context awareness

AI Assistant now better understands your entire project, using advanced RAG-based retrieval to work with the most relevant files, methods, and classes. In addition, context now includes recently accessed files, making interactions even more relevant to your workflow. You also maintain full control over the AI’s context. You can add or remove attachments that are sent as context.

More AI models available

You can take full control of your AI experience in RubyMine by choosing from the latest and most advanced models:

  • Claude 3.7 Sonnet
  • OpenAI GPT-4.1 (сoming soon)
  • Gemini 2.0 Flash

Offline mode: Work with local models

RubyMine 2025.1 supports offline mode, which means you’ll never have to manage without AI Assistant again. With the Ollama and LM Studio local models, all AI-power coding assistance is still available even when there’s no internet connection.

Multi-file changes in AI chat’s edit mode

Editing multiple files in RubyMine has never been easier! AI Assistant now uses the retrieval-augmented generation (RAG) technique to locate the most relevant files and suggest changes across your project within one chat interaction.

Faster application of code snippets from the chat

The upgraded AI chat now does more than just suggesting code snippets – it also finds the right spot for inserting newly generated code after you click Apply. With manual copy-pasting out of the way, this feature significantly streamlines your workflow in RubyMine 2025.1.

Exclude files from AI context

In RubyMine 2025.1, you can tell AI Assistant what to ignore by configuring an .aiignore file. This allows you to make sure AI does not access files or folders that contain sensitive data.

Ruby

Warning on creating constants in the global Ruby namespace

RubyMine now displays a warning when you create constants or modify the global Ruby namespace.

Error when using keyword arguments in index assignment expressions

In Ruby 3.4, an error is triggered when using keyword and block arguments inside index assignments. We implemented an inspection displaying such errors and a fix that you can quickly apply in your IDE.

Improvements for the Incorrect argument count inspection

We refined the Incorrect argument count inspection to better track block usage in method definitions. We also improved the handling of complex super calls, enhanced warning messages, and lowered the inspection severity level to Warning.

Hash.new accepts the capacity keyword

RubyMine no longer displays unknown keyword warnings when passing the capacity parameter to the Hash.new method.

Support for asdf 0.16+

RubyMine 2025.1 supports the latest version of asdf to make sure interpreters installed with this version manager are recognized properly. This fixes any issues you might have previously encountered in RubyMine when using the re-written 0.16 version of asdf.

Rails

Updated deploy.yml schema for Kamal 2.4.0 and 2.5.0

To address the changes introduced in Kamal 2.4.0 and 2.5.0, we added code insight support for a number of deploy.yml keys, including:

  • accessories.network
  • accessories.proxy
  • accessories.registry
  • builder.provenance
  • builder.sbom
  • proxy.hosts
  • ssh.config

Options to disable auto-reloading of Rake tasks and Rails generators

We added two advanced settings to control the automatic refreshing of Rails generators and Rake tasks. When the settings are disabled, only manual reload actions are available. You can access both settings from Settings | Advanced settings.

Notifications on Rails generator loading errors

We improved the UX of Rails generator loading errors by replacing the focus-stealing tool window notifications with less intrusive balloon notifications.

Other features

Option to align binary expressions

A new formatter setting in RubyMine allows you to align binary expressions in if and while conditions, assignments, return statements, and function calls without parentheses. This new setting is designed to adhere to the behavior of RuboCop and can be accessed from Settings | Editor | Code Style | Ruby | Wrapping and Braces | Binary expressions | Align when multiline. Disabling the option restores the default RubyMine formatting.

Updated terminology

We revised the terminology throughout the user interface, replacing Ruby SDK with Ruby interpreter for clarity and consistency.

Bundled .env files plugin

RubyMine 2025.1 comes with the pre-installed .env files plugin, which is widely used to manage configuration settings, environment variables, and sensitive information.

User experience

Native OS file dialogs on Windows

RubyMine 2025.1 features native Windows file dialogs, which are part of the default settings. You can get back to the previous option in Advanced Settings | User Interface.

New file creation in the Project tool window

RubyMine 2025.1 simplified the procedure of creating files. Right after you click the + icon in the Project tool window, you can choose the required file template from the resultant popup list, which is easily filtered using the search field.

Automatic plugin update option

You can instruct RubyMine 2025.1 to automatically update plugins in the background. The setting downloads available and compatible updates and applies them on the next RubyMine restart. To enable the option, click the Enable auto-update checkbox in the update dialog or go to File | Settings | Appearance & Behavior | System Settings | Updates.

VCS

Enhanced diff view

You can now see commit details directly in the diff view. This helps you analyze the file history and modifications more quickly and easily.

Discontinuation of the modal commit interface

For a number of reasons, RubyMine 2025.1 no longer features the modal commit interface. This option is still available as a separate plugin, though.

Remote development

Containerfile support

RubyMine 2025.1 comes with built-in Containerfile recognition, which ensures a smooth developer experience when using various tools for remote solutions in the same environment. Whether it’s Docker, Podman, or Buildah, it can all be configured in the same file, fully recognized by the tools of your choice, with full support for syntax highlighting, linting, and snippet suggestions.

Improved editing in RemDev

With reduced typing, highlighting and formatting latency, RubyMine 2025.1 ensures a better overall editing experience in remote development.