How to work with Docker/Docker Compose from RubyMine


RubyMine 2019.1
has a bunch of capabilities which allow you to work with Docker and Docker Compose. You can inspect existing images and containers, quickly edit Docker files using autocompletion, create new images and start services directly from the IDE, and run or debug your application using Docker SDK. Let’s take a look at how to do all this.

Continue reading

Posted in Feature, Learn RubyMine, What's New (EAP) | Tagged , , , , | 5 Comments

Profile Ruby & Rails Apps With rbspy in RubyMine

RubyMine 2019.1 adds support for rbspy – a great sampling profiler for Ruby (many thanks to @jvns!). This post will help you start profiling your Ruby/Rails apps with RubyMine in 5 minutes. Here are the exact steps:

First things first: make sure you have rbspy installed. If it’s not, see this guide to install it for Maс, Linux, and Windows. Now you’re set. Run RubyMine 2019.1 and follow these steps to start profiling: Continue reading

Posted in Feature, Learn RubyMine, What's New (EAP) | Tagged , , , | 6 Comments

RubyMine 2018.3.5 is Available!

Hey there,

RubyMine 2018.3.5 (build 183.5912.16) is now available. This build includes many minor platform improvements. You can find all the exact issues we’ve solved in our release notes for this build.

Here’s also a brief overview of the improvements made in the previous version 2018.3.4 (build 183.5429.43) that we haven’t covered on the blog yet:

  • Ruby 2.6: added the new else-without-rescue inspection [RUBY-23335]
  • Fixed parsing issues in ERB files [RUBY-23214]
  • Fixed minor RSpec, Haml, and other issues

Download RubyMine 2018.3.5

As usual, check out this page for a complete list of all the changes from every build released within v2018.3, and please keep reporting any issues you encounter.

If you are excited to find out what major features were implemented for v2018.3, jump over to our What’s new page.

Cheers,
Your RubyMine team

Posted in Announcement | Tagged , | Leave a comment

RubyMine 2019.1 EAP updated: View Call Hierarchy, TruffleRuby Support

RubyMine 2019.1 EAP (build 191.4738.18) has just been updated. The new build features an ability to view a Call Hierarchy of Ruby methods, and adds support for TruffleRuby.

Call Hierarchy [RUBY-16165]

This build features a very handy ability to view a call hierarchy of methods (Navigate | Call Hierarchy), which expands the potential of the Find Usages action.

Not only does the Call Hierachy show you all the methods (“callers”) that use the method you are investigating, but it also shows you callers of the callers. Take a look at the following steps to escape this verbal abracadabra and get a grasp of this feature:

  • Put the caret at the method you want to investigate and choose Navigate | Call Hierarchy (Ctrl+Alt+H). The resulting popup will show you the list of methods that call this method.
  • If you expand any node, you will see which methods call the methods that use the original method you are investigating:

Continue reading

Posted in Announcement, Feature, What's New (EAP) | Tagged , , | 5 Comments

RubyMine 2019.1 EAP is Open!

Hi everyone,

RubyMine 2019.1 EAP (build 191.4212.20) is now open! We’ve added support for Factory Bot, improved support for polymorphic associations and gems, fixed many issues with version managers, and there’s much more stuff to come from both the Ruby and the IntelliJ platform team.

rubymine_2019_1_eap_open

As for the first EAP build, here’s the list of improvements that have been made:

Factory Bot [RUBY-23171]:

Note that support for Factory Bot is now being improved and polished, this will all be covered in detail later on the blog.

Continue reading

Posted in Feature, What's New (EAP) | Tagged , , | Leave a comment

RubyMine 2018.3.3 is Available

RubyMine 2018.3.3 (build 183.5153.41) has just been released.

What’s new in this build:

  • Darcula 2018.2 is back in the list of color schemes [RUBY-23348]
  • Fixed installing gems on Ruby 2.6 / RubyGems 3.0+ [RUBY-23318]
  • Other bug-fixes

See What’s new in RubyMine 2018.3 for the major improvements made in v2018.3.

Download RubyMine 2018.3.3

As usual, see the release notes for the full list of improvements. Please report any issues to our bug tracker.

Cheers,
Your RubyMine Team

Posted in Announcement | Tagged | Leave a comment

RubyMine 2018.3.2 is Available

Hi there,

RubyMine 2018.3.2 (build 183.4886.48) has just been released. This new update brings support for Ruby 2.6 and its newly added endless ranges:

The new version also fixes a number of code insight and other issues.

See What’s new in RubyMine 2018.3 for the major improvements made in v2018.3.

Download RubyMine 2018.3.2

As always, see the release notes for the full list of improvements. Please report any issues you encounter.

Cheers,
Your RubyMine Team

Posted in Announcement | Tagged | 6 Comments

A Quick Look at Smart Keys in RubyMine

RubyMine has a number of Smart Keys – configurable options that help you avoid extra typing, and navigate through the code faster. Most of the smart keys, like auto-inserting closing brackets and quotes are on by default. However, there are other options you may want to enable.

For instance, you may want to stop at parts of CamelCase and snake_case words when you navigate through the words in your code with ⌥+Arrows / Ctrl+Arrows. To quickly enable this option, invoke Find Action (⌘⇧A / Ctrl+Shift+A) and start typing “use camelhump words”. The IDE will match your query to the related setting and will allow you to toggle it without accessing the preferences:

Continue reading

Posted in Feature, Learn RubyMine | Tagged , | 3 Comments

RubyMine 2018.3.1 is Available

Hey all,

RubyMine 2018.3.1 (build 183.4588.71) is now available.

What’s new in this build:

This build also fixes a few bugs in YAML, Code insight, Attach to process, and other feature subsystems.

See What’s new in RubyMine 2018.3 for the major improvements made in v2018.3.

Download RubyMine 2018.3.1

As always, see the release notes for the full list of improvements. Please report any issues you encounter.

Cheers,
Your RubyMine Team

Posted in Announcement | Tagged | Leave a comment

RubyMine 2018.2.6 is Available

Hey all,

RubyMine 2018.2.6 (build 182.5107.52) is now available.

What’s new in this build:

  • Fixed the PlantUML integration [RUBY-22884]
  • Run Anything now works correctly with rbenv [RUBY-23106]
  • Eliminated the incorrect autocompletion with adding a space after the do keyword [RUBY-22741]

If you are still using RubyMine 2018.2, please update to this newest version.

Download RubyMine 2018.2.6

As always, see the release notes for the full list of improvements. Please report any issues you encounter.

Cheers,
Your RubyMine Team

Posted in Announcement | Tagged | Leave a comment