RubyMine

RubyMine 2025.2: Junie and AI Assistant Upgrades, Faster Rails Project Startup, Enhanced Bundler Management, and More

RubyMine 2025.2 is out!

In this blog post, we briefly go over the highlights of this release. For a detailed description, check out our What’s New page. 

You can get the new build from our website or via the free Toolbox App.

AI Assistant

JetBrains AI Assistant has received a major upgrade, offering smarter code completion, greater project awareness, and more control over AI in your IDE. Below is an overview of the main improvements. Read the full article here.

Code completion for ERB

Cloud-based code completion for ERB has been expanded to work directly within ERB tags like <% <caret> -%> and <%= <caret> %>. This feature builds on RubyMine’s existing AI-based code completion for Ruby and includes enhancements like better string handling, multiline code support, and the avoidance of duplicate closing tags.

Stronger project awareness in AI chat

AI Assistant’s chat now uses the Search Everywhere functionality for Classes and Symbols to offer more accurate and project-specific context.

Project rules for team-wide consistency

You can now define project-specific instructions, such as coding styles or framework constraints, to guide AI responses. These rules are stored within the project and can be shared with your team, ensuring alignment without repetitive input.

More ways to connect local models

You can now connect any OpenAI-compatible local model server, including llama.cpp, LiteLLM, and others. This lets you take advantage of powerful AI features offline, without any data being sent to the cloud.

Expanded and improved code suggestions

In RubyMine 2025.2, AI Assistant offers more frequent and context-aware code suggestions. Improved formatting for multiline outputs also ensures a smoother coding experience.

Image attachments

JetBrains AI Assistant now supports image attachments in the chat when using Anthropic and OpenAI models.

Junie

RubyMine now offers an exciting new way to code thanks to Junie, the AI coding agent from JetBrains, built to streamline your workflow and boost your productivity. Available in RubyMine 2025.2 as a plugin, Junie is reliable for simple tasks, but it really shines when assigned complex challenges. Use Code mode to delegate coding tasks or Ask mode to brainstorm features and explore new solutions.

Junie recently received several major updates. It is now up to 30% faster, and it offers MCP support and added functionality for remote development.

Ruby

More control over code inspections

RubyMine 2025.2 gives you the flexibility to disable specific type signature providers used in certain inspections. For example, the Mismatched Argument Type inspection uses RBS and Sorbet, which might conflict with each other. To avoid any issues, you can disable one of them.

Find and customize them in Settings | Editor | Inspections | Ruby | Probable bugs.

Rails

Streamlined project startup

RubyMine 2025.2 increases the speed of project startup by optimizing how background tasks are handled. Nonessential operations like refreshing Rake tasks or updating RBS collections now run only when needed, so you’re not stuck waiting on them. Get started on your work faster with fewer interruptions right from the get-go.

Better performance when editing migration files

If your Rails project is packed with migration files, you know how sluggish and glitchy editing them can get. Not anymore – RubyMine ensures smooth edits, even in projects with tons of migrations, so that you can make changes quickly and without any hassle.

RBS 

Hover hints for RBS

Digging into .rbs files has never been easier. With hover hints, you can quickly preview type definitions and references without leaving your current file. Just press Cmd (Mac) or Ctrl (Windows/Linux) and hover over a declaration to see a concise, in-context preview.

RBS Collection integration enabled by default

The RBS Collection integration is now enabled by default, improving the precision of Find Usages, the Rename refactoring, and inlay hints when working with type signatures. This feature requires RBS 3.2 (bundled with Ruby 3.4), and if you’re on an older Ruby version, RubyMine will prompt you to install the correct gem.

Bundler 

Simpler notifications

RubyMine now groups missing gem alerts across all modules into a single notification, cleaning up your workspace and reducing distractions.

New Bundler tab

The new Bundler tab under Settings | Tools saves you from repetitive prompts every time you run a Bundler command. It contains two checkboxes you can mark that will:

  • Allow the IDE to automatically install the Bundler version you need without asking you for confirmation.
  • Allow you to define default arguments for all Bundler commands, streamlining your workflow.

Smarter gem installation

To prevent conflicts and the unnecessary reinstallation of shared gems, RubyMine now installs gems on a per-module basis. This makes working on multimodule projects far smoother.

Code insight

Improved exception-constant completion

RubyMine’s autocompletion for exception constants just got a lot smarter. When you trigger autocompletion without typing a prefix, the suggestions are now limited to a focused, relevant set of constants.

This makes the feature faster and far more precise, which is especially helpful in larger projects where suggestion bloat used to slow you down.

Debugger

Non-modal installation

You no longer have to wait around when setting up debugger gems in RubyMine! Starting with version 2025.2, debugger installation is now non-modal. The progress is displayed directly in the terminal window, so you can continue working without interruptions.

Stay in touch

To learn about the latest features as they come out, follow RubyMine on X

We invite you to share your thoughts in the comments below and to suggest and vote for new features in the issue tracker.

Happy developing!

The RubyMine team

image description