RubyMine 2017.1 RC 1: Improved Docker Support

Posted on by Artem Sarkisov

Hi there,

RubyMine 2017.1 RC1 (build 171.3780.26) is now available! This build is the first release candidate for RubyMine 2017.1 which is coming by the end of March.

Besides fixing a number of bugs, this update brings more stable support for Docker, allowing you to work with Rails apps correctly. We’ve already announced support for Docker, and now we’d like to show you exactly how it works in RubyMine.

First of all, be sure to install the Docker plugin right from the IDE (Preferences | Plugins | Browse repositories). This probably won’t take longer than a minute:

install docker plugun for rubymine

After installing and restarting the IDE, add a remote Docker SDK (Preferences| Languages & Frameworks | Ruby SDK and Gems | New remote):

adding docker sdk in rubymine

Now, assuming you have an existing Docker project, simply choose your Docker SDK:

add docker sdk rubymine

After you click OK, RubyMine will start indexing your project by using the newly added Docker SDK. Since RubyMine loads the whole Docker SDK, you are able to work with the Docker project like you would with a local one, taking advantage of code analysis, completion, and other smart features available in RubyMine.

docker server run

We used MySQL and ran a plain Rails application to show you how RubyMine works with Docker projects. Once the server is running, we get a very familiar welcome page in the browser:

you are on rails rubymine

Please note that RubyMine doesn’t support Docker Compose — уеt. We are planning to add it along with the ability to debug Ruby/Rails apps.

Download this build from our What’s new page. See the release notes for the full list of changes.

Be sure to try Docker support in RubyMine and let us know what you think in the comments below!

If you face any issues, feel free to contact our support team or submit them to our tracker.

Cheers!

Your RubyMine Team

Comments below can no longer be edited.

7 Responses to RubyMine 2017.1 RC 1: Improved Docker Support

  1. RubyMine 2017.1 Released: Docker, RuboCop, Puppet, Test Generation for Rails, and More! | RubyMine Blog says:

    March 22, 2017

    […] for Docker through the usage of the Docker integration plugin available in RubyMine. Check out this post to learn more about configuring your Docker […]

  2. JamesLewn says:

    April 2, 2017

    Oh yeah! I’ve been waiting for that. Love you!

  3. RubyMine 2017.1リリース: Docker, RuboCop, Puppet, RoRのテスト生成など! | JetBrains ブログ says:

    April 11, 2017

    […] RubyMineは、RubyMineで利用可能なDocker統合プラグインの使用を通じてDockerを完全にサポートしています。Docker SDKの設定の詳細については、こちらの記事をご覧ください。 […]

  4. Francis says:

    May 9, 2017

    Is docker-compose in the pipeline, the feture is in pycharm

  5. Mauro says:

    July 11, 2017

    Hi, my development environment is based on https://github.com/phusion/passenger-docker I and I have a problem with Ruby Interpreter Path.
    I tried with the following values but it doesn’t work:
    /usr/bin/ruby2.3
    /usr/bin/ruby

    Any idea?
    Many thanks,
    Mauro

  6. Andrey Vokin says:

    July 18, 2017

    It was bug. We’ve just fixed the problem.

    By the way, what it the best way to install gems in image based on Passenger-Docker? As usual the “bundle install” command should be in Dockerfile?

Subscribe

Subscribe for updates