How to install RubyMine on Rocky Linux 8.6

To install RubyMine on Rocky Linux 8.6

Introduction:

RubyMine is an integrated development environment (IDE) that can support you to be more productive in every aspect of Ruby/Rails project development - from writing and debugging code to testing and deploying a completed application. It is available for different platforms including macOS, Windows, and Linux.

Step 1: Check the installed OS version by using the below command

[root@linuxhelp ~]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

Step 2: First, download the RubyMine' s latest version by using the below command

[root@linuxhelp ~]# wget https://download.jetbrains.com/ruby/RubyMine-2018.1.tar.gz
--2022-11-02 04:32:56--  https://download.jetbrains.com/ruby/RubyMine-2018.1.tar.gz
Resolving download.jetbrains.com (download.jetbrains.com)... 54.72.98.183, 52.50.241.213, 2a05:d018:93b:d102:90dc:a05:8bbc:8887, ...
Connecting to download.jetbrains.com (download.jetbrains.com)|54.72.98.183|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://download-cdn.jetbrains.com/ruby/RubyMine-2018.1.tar.gz [following]
--2022-11-02 04:32:57--  https://download-cdn.jetbrains.com/ruby/RubyMine-2018.1.tar.gz
Resolving download-cdn.jetbrains.com (download-cdn.jetbrains.com)... 108.159.15.78, 108.159.15.54, 108.159.15.16, ...
Connecting to download-cdn.jetbrains.com (download-cdn.jetbrains.com)|108.159.15.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 281089200 (268M) [binary/octet-stream]
Saving to: ‘RubyMine-2018.1.tar.gz’


RubyMine-2018.1.tar.gz   100%[===============================>] 268.07M  35.8MB/s    in 6.1s    

2022-11-02 04:33:03 (44.2 MB/s) - ‘RubyMine-2018.1.tar.gz’ saved [281089200/281089200]

Step 3: Now extract the downloaded package by using the below command

oot@linuxhelp ~]# tar -xvf RubyMine-2018.1.tar.gz
RubyMine-2018.1/bin/log.xml
RubyMine-2018.1/build.txt
RubyMine-2018.1/help/ReferenceCard.pdf
RubyMine-2018.1/help/ReferenceCardForMac.pdf
RubyMine-2018.1/lib/annotations.jar
RubyMine-2018.1/lib/asm-all.jar
RubyMine-2018.1/lib/automaton.jar
RubyMine-2018.1/lib/batik-all.jar
RubyMine-2018.1/lib/bcprov-jdk15on-1.55.jar
RubyMine-2018.1/lib/bootstrap.jar
RubyMine-2018.1/lib/bytelist-1.0.2.jar

/libmlib_image.so
RubyMine-2018.1/jre64/lib/amd64/libnet.so
RubyMine-2018.1/jre64/lib/amd64/libnio.so

Step 4: Change the Ruby Directory by using the below command

[root@linuxhelp ~]# cd RubyMine-2018.1

Step 5: Next, Long Listing the directory by using the below command.

[root@linuxhelp ~]# ls -la
total 274560
dr-xr-x---. 16 root root      4096 Nov  2 04:33 .
dr-xr-xr-x. 17 root root       224 Oct  1 00:47 ..
-rw-------.  1 root root      1346 Oct  1 00:55 anaconda-ks.cfg
-rw-------.  1 root root         5 Oct  1 01:41 .bash_history
-rw-r--r--.  1 root root        18 Mar 15  2021 .bash_logout
-rw-r--r--.  1 root root       176 Mar 15  2021 .bash_profile
-rw-r--r--.  1 root root       176 Mar 15  2021 .bashrc
drwx------.  9 root root       224 Oct  1 01:40 .cache
drwx------. 10 root root       171 Oct  1 01:40 .config
-rw-r--r--.  1 root root       100 Mar 15  2021 .cshrc
drwx------.  3 root root        25 Oct  1 01:39 .dbus
drwxr-xr-x.  2 root root         6 Oct  1 01:40 Desktop
drwxr-xr-x.  2 root root         6 Oct  1 01:40 Documents
drwxr-xr-x.  2 root root         6 Oct  1 01:40 Downloads
-rw-------.  1 root root        16 Oct  1 01:40 .esd_auth
-rw-------.  1 root root       310 Oct  1 01:40 .ICEauthority
-rw-r--r--.  1 root root      1713 Oct  1 01:40 initial-setup-ks.cfg
drwx------.  3 root root        19 Oct  1 01:40 .local
drwxr-xr-x.  2 root root         6 Oct  1 01:40 Music
drwxr-xr-x.  2 root root         6 Oct  1 01:40 Pictures
drwxr-----.  3 root root        19 Oct  1 01:40 .pki
drwxr-xr-x.  2 root root         6 Oct  1 01:40 Public
drwxr-xr-x. 18 root root      4096 Nov  2 04:33 RubyMine-2018.1
-rw-r--r--.  1 root root 281089200 May 13  2021 RubyMine-2018.1.tar.gz
-rw-r--r--.  1 root root       129 Mar 15  2021 .tcshrc
drwxr-xr-x.  2 root root         6 Oct  1 01:40 Templates
drwxr-xr-x.  2 root root         6 Oct  1 01:40 Videos
-rw-------.  1 root root       532 Oct  1 01:46 .viminfo
-rw-r--r--.  1 root root       177 Nov  2 04:33 .wget-hsts

Step 6: Next, Long Listing the directory by using the below command.

[root@linuxhelp RubyMine-2018.1]# ls -la
total 112
drwxr-xr-x. 18 root root 4096 Nov  2 04:33 .
dr-xr-x---. 16 root root 4096 Nov  2 04:33 ..
drwxr-xr-x.  2 root root 4096 Nov  2 04:33 bin
-rw-r--r--.  1 root root   15 Mar 27  2018 build.txt
drwxr-xr-x.  2 root root   62 Nov  2 04:33 help
-rw-r--r--.  1 root root 1906 Mar 27  2018 Install-Linux-tar.txt
drwxr-xr-x.  4 root root  110 Nov  2 04:33 jre64
drwxr-xr-x.  3 root root 8192 Nov  2 04:33 lib
drwxr-xr-x.  2 root root 4096 Nov  2 04:33 license
drwxr-xr-x. 54 root root 4096 Nov  2 04:33 plugins
drwxr-xr-x.  7 root root  151 Nov  2 04:33 rb
drwxr-xr-x.  2 root root 4096 Nov  2 04:33 rubystubs18
drwxr-xr-x.  2 root root 4096 Nov  2 04:33 rubystubs19
drwxr-xr-x.  2 root root 4096 Nov  2 04:33 rubystubs193
drwxr-xr-x.  2 root root 4096 Nov  2 04:33 rubystubs20
drwxr-xr-x.  2 root root 4096 Nov  2 04:33 rubystubs21
drwxr-xr-x.  2 root root 4096 Nov  2 04:33 rubystubs22
drwxr-xr-x.  2 root root 4096 Nov  2 04:33 rubystubs23
drwxr-xr-x.  2 root root 4096 Nov  2 04:33 rubystubs24
drwxr-xr-x.  2 root root 8192 Nov  2 04:33 rubystubs25

Step 7: Now we need to run the RubyMine.sh script to open the application installer setup by using the below command.

[root@linuxhelp bin]# sh rubymine.sh
Gtk-Message: 04:35:07.311: Failed to load module "canberra-gtk-module"
Nov 02, 2022 4:35:07 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Nov 02, 2022 4:35:07 AM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background /root/.java/.userPrefs/prefs.xml

Step 8: You will see the following screen while running the script. If you are doing the fresh installation and do not have any previously exported settings, choose " Do not import settings"

Step 9: Proceed further by accepting the terms and conditions.

Step 10: If you want to share the usage statistics with JetBrains you can choose to share by enabling the checkbox.

Step 11: On next screen, you must activate the license.

Step 12: If you want to try the trial version choose " Evaluate for free" and click evaluate.

Step 13: After evaluating you can start customizing Ruby Mine. At first, you have to choose the UI theme.

Step 14: And then you have to select the keymap scheme and proceed to customize plugins.You can customize the default plugins from the following options. And then it offers featured plugins where you can install the plugin as per your project needs.

Step 15: The customization is completed and you can start using Ruby Mine now.

Step 16: If you already have a project you can choose to open or else choose to create new project.

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to install Ruby Mine 2018.1 on Rocky linux 8.6. Your feedback is much welcome.

FAQ
Q
Why is Ruby so popular?
A
Usages. Ruby is most often used to build web applications, but... not only! It is gaining popularity due to the fact that MVPs are very often developed with the help of this technology. Ruby and its most popular framework, Rails, are famous for their great flexibility, security, and short development period.
Q
How to run the RubyMine application in Ubuntu?
A
run the RubyMine application by following the command # sh rubymine.sh
Q
Is RubyMine open source?
A
RubyMine - WakaTime - An open-source RubyMine extension for automatic time tracking and metrics about your programming.
Q
Why is Ruby called Ruby?
A
Ruby is a predominantly feminine given name taken from the name of the gemstone ruby. The name of the gemstone comes from the Latin rubinus, meaning red. The ruby is the birthstone for the month of July. The name Ruby is taken from the name of the gemstone ruby.
Q
What means IDE?
A
An integrated development environment (IDE) is software for building applications that combine common developer tools into a single graphical user interface (GUI).