Posted almost 9 years ago. Visible to the public.

Install RubyMine under Ubuntu

This card explains how to install RubyMine for the first time. If you want to upgrade an existing RubyMine installation (after legacy install) to a newer version, see How to upgrade RubyMine.


Option A (new way)

Ubuntu 16.04 comes with snap, a way to package software with all its dependencies. RubyMine is also packaged as a snap.

A snap will always track a channel (like stable, beta) and automatically update to the newest version available in this channel. By default the snap daemon will check for updates four times per day.

To automatically keep up with stable releases install RubyMine via (tracks stable):

Copy
$ sudo snap install rubymine --classic

To only allow minor updates, install the snap with another channel specified:

Copy
$ sudo snap install rubymine --classic --channel=2018.1/stable

further info about snaps

You can list available channels with:

Copy
$ snap info rubymine name: rubymine ... tracking: stable refresh-date: 7 days ago, at 09:04 CET channels: stable: 2018.3.2 (72) 269MB classic candidate: 2018.3.2 (72) 269MB classic beta: 2018.3.2 (72) 269MB classic edge: 2018.3.2 (72) 269MB classic 2018.3/stable: 2018.3.2 (72) 269MB classic 2018.3/candidate: 2018.3.2 (72) 269MB classic 2018.3/beta: 2018.3.2 (72) 269MB classic 2018.3/edge: 2018.3.2 (72) 269MB classic 2018.2/stable: 2018.2.6 (69) 266MB classic 2018.2/candidate: 2018.2.6 (69) 266MB classic

Check packages installed via snap with:

Copy
$ snap list Name Version Rev Tracking Publisher Notes core 16-2.36.3 6130 stable canonical✓ core rubymine 2018.3.2 72 stable jetbrains✓ classic

Search for available snaps:

Copy
$ snap find ruby ruby 2.5.3 rubylang✓ classic Interpreter of object-oriented scripting language Ruby rubymine 2018.3.2 jetbrains✓ classic The Most Intelligent Ruby and Rails IDE ...

Switch channel and install most recent version:

Copy
$ sudo snap refresh rubymine --channel=2018.2/stable

One of the features of snap is to be able to simply roll back to a previous version of an application (including the data associated with the snap) for any reason:

Copy
sudo snap revert rubymine

Check time of the last end next update check:

Copy
$ snap refresh --time timer: 00:00~24:00/4 last: today at 07:47 CET next: today at 15:02 CET

Option B (legacy way)

  • Install the Sun Java JRE

  • Download RubyMine

  • Unpack the downloaded archive:

    Copy
    tar -xzf RubyMine-X.Y.Z.tar.gz
  • Make a directory for RubyMines:

    Copy
    mkdir -p ~/bin/rubymines/ mkdir -p ~/bin/rubymine/
  • Move the unpacked RubyMine folder to the desired destination:

    Copy
    mv ~/Downloads/RubyMine-X.Y.Z ~/bin/rubymines
  • Make a symlink:

    Copy
    ln -nfs ~/bin/rubymines/RubyMine-X.Y.Z ~/bin/rubymine
  • Restart X

  • Add a launcher icon to your gnome panel. The command to call is /home/$USER/bin/rubymine/bin/rubymine.sh. For the icon there is a nice SVG of the RubyMine logo in that bin folder as well.

  • If you're working at makandra, ask the ops team for a RubyMine license.

By refactoring problematic code and creating automated tests, makandra can vastly improve the maintainability of your Rails application.

Owner of this card:

Avatar
Henning Koch
Last edit:
7 months ago
by Daniel Straßner
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Henning Koch to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more