Get Support

How to install Ruby Mine on Ubuntu(20.04)

How to install Ruby Mine on Ubuntu(20.04)

RubyMine is one of the most powerful Ruby IDE from JetBrains. RubyMine offers an intelligent auto completion and many other tools which help us write and debug our Rails applications fast. In this article, we will see how we can install RubyMine on Ubuntu 20.04 LTS and later versions.

Before installing RubyMine, we should make sure we have got Ruby installed on our Ubuntu machine. If not, we can follow the following steps to install Ruby.

Installing Ruby

We are going to install Ruby using a version manager called rbenv.

git clone ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL

git clone ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL

To install Ruby and set the default version, we will run the following commands:

rbenv install 3.0.3
rbenv global 3.0.3

Installing RubyMine

Download the latest RubyMine version from offical site
Run the following commands

sudo tar -zxvf  RubyMine-2021.3.tar.gz -C /opt/
move mv /opt/RubyMine-2021.3.tar.gz /opt/RubyMine
sudo /opt/RubyMine/bin/

You have got RubyMine installed successfully and you can start RubyMine now from the Application Menu

Add a Comment

Your email address will not be published.