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.
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.
RubyMine 2025.1 further expands the powers of the JetBrains AI Assistant plugin, now supported for the RBS language:
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.
You can now use natural language prompts directly in the editor to enhance your RBS coding with the help of AI Assistant.
RubyMine 2025.1 comes with support for annotators, enabling error inspections and syntax highlighting in AI code suggestions.
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.
You can take full control of your AI experience in RubyMine by choosing from the latest and most advanced 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.
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.
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.
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
namespace
RubyMine now displays a warning when you create constants or modify the global Ruby
namespace.
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.
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.
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.
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
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.
We improved the UX of Rails generator loading errors by replacing the focus-stealing tool window notifications with less intrusive balloon notifications.
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.
We revised the terminology throughout the user interface, replacing Ruby SDK with Ruby interpreter for clarity and consistency.
RubyMine 2025.1 comes with the pre-installed .env files plugin, which is widely used to manage configuration settings, environment variables, and sensitive information.
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.
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.
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.
You can now see commit details directly in the diff view. This helps you analyze the file history and modifications more quickly and easily.
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.
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.
With reduced typing, highlighting and formatting latency, RubyMine 2025.1 ensures a better overall editing experience in remote development.