{"id":7314,"date":"2019-01-08T09:40:42","date_gmt":"2019-01-08T09:40:42","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=7314"},"modified":"2019-01-08T14:16:09","modified_gmt":"2019-01-08T14:16:09","slug":"how-to-install-jetbrains-rubymine-ruby-ide-on-ubuntu-linux-hint","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/01\/08\/how-to-install-jetbrains-rubymine-ruby-ide-on-ubuntu-linux-hint\/","title":{"rendered":"How to Install Jetbrains RubyMine Ruby IDE on Ubuntu \u2013 Linux Hint"},"content":{"rendered":"<p>RubyMine is a powerful Ruby IDE from JetBrains. Like all the other JetBrains IDE, Ruby mine also has intelligent auto completion and many other tools to help you write and debug your Ruby application fast. In this article, I will show you how to install RubyMine on Ubuntu. The procedures shown here should work on Ubuntu 16.04 LTS and later. I will be using Ubuntu 18.04 LTS for the demonstration. So, let\u2019s get started.<\/p>\n<p>In order to run Ruby programs on RubyMine, you must have Ruby programming language installed on your machine.<\/p>\n<p>On Ubuntu, you can install Ruby programming language with the following command:<\/p>\n<p>$ sudo apt install ruby-full<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/1-16.png\" alt=\"\" width=\"1040\" height=\"97\" \/><\/p>\n<p>Now, press y and then press &lt;Enter&gt; to continue.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/2-16.png\" alt=\"\" width=\"1062\" height=\"355\" \/><\/p>\n<p>Ruby should be installed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/3-16.png\" alt=\"\" width=\"1140\" height=\"265\" \/><\/p>\n<h2>Installing RubyMine:<\/h2>\n<p>On Ubuntu 16.04 LTS and later, RubyMine is available as a SNAP package. So, you can install the latest version of RubyMine on Ubuntu 16.04 LTS and later from the official SNAP package repository of Ubuntu.<\/p>\n<p>To install RubyMine SNAP package on Ubuntu 16.04 LTS and later, run the following command:<\/p>\n<p>$ sudo snap install rubymine &#8211;classic<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/4-17.png\" alt=\"\" width=\"1050\" height=\"99\" \/><\/p>\n<p>Now, type in the password of your login user and press &lt;Enter&gt; to continue.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/5-17.png\" alt=\"\" width=\"1041\" height=\"117\" \/><\/p>\n<p>RubyMine snap package is being downloaded.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/6-16.png\" alt=\"\" width=\"1051\" height=\"149\" \/><\/p>\n<p>RubyMine is installed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/7-17.png\" alt=\"\" width=\"1056\" height=\"168\" \/><\/p>\n<h3>Initial Configuration of RubyMine:<\/h3>\n<p>Now, you can start RubyMine from the Application Menu of Ubuntu as you can see in the screenshot below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/8-15.png\" alt=\"\" width=\"1140\" height=\"242\" \/><\/p>\n<p>As you\u2019re running RubyMine for the first time, you may not have any settings to import. Just select Do not import settings and click on OK.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/9-14.png\" alt=\"\" width=\"863\" height=\"242\" \/><\/p>\n<p>Now, you have to accept the JetBrains User Agreement. To do that, check I confirm that I have read and accept the terms of this User Agreement checkbox and click on Continue.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/10-11.png\" alt=\"\" width=\"1129\" height=\"439\" \/><\/p>\n<p>Now, select an UI theme and click on Next: Keymaps.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/11-11.png\" alt=\"\" width=\"1360\" height=\"768\" \/><\/p>\n<p>Now, select the keymap that you\u2019re comfortable with and click on Next: default plugins.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/12-9.png\" alt=\"\" width=\"1360\" height=\"768\" \/><\/p>\n<p>Now, you can enable\/disable certain features to tune RubyMine to your needs. Once you\u2019re done, click on Next: Featured plugins.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/13-9.png\" alt=\"\" width=\"1140\" height=\"644\" \/><\/p>\n<p>Now, JetBrains will suggest you some popular plugins for RubyMine. If you like\/need any of them, just click on Install to install it. Once you\u2019re done, click on Start using RubyMine.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/14-9.png\" alt=\"\" width=\"1140\" height=\"644\" \/><\/p>\n<p>Now, you have to activate RubyMine. RubyMine is not free. In order to use RubyMine, you have to buy a license from JetBrains. Once you have the credentials, you can activate RubyMine from here.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/15-8.png\" alt=\"\" width=\"1076\" height=\"487\" \/><\/p>\n<p>If you want to try out RubyMine before you buy a license, you can do so for 30 days at the time of this writing. To do that, select Evaluate for free and click on Evaluate.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/16-6.png\" alt=\"\" width=\"1131\" height=\"494\" \/><\/p>\n<p>RubyMine is being loaded.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/17-7.png\" alt=\"\" width=\"1140\" height=\"644\" \/><\/p>\n<p>This is the dashboard of RubyMine. From here, you can create new projects and manage existing projects.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/18-7.png\" alt=\"\" width=\"1113\" height=\"519\" \/><\/p>\n<h3>Creating a Ruby Project with RubyMine:<\/h3>\n<p>In this section, I will show you how to create a new Ruby project with RubyMine and run a simple Ruby program. So, let\u2019s get started.<\/p>\n<p>First, start RubyMine and click on Create New Project.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/19-7.png\" alt=\"\" width=\"1113\" height=\"519\" \/><\/p>\n<p>Now, select your project type. I selected Empty Project. Now, set your project Location (where RubyMine will save the files for this project) and make sure the Ruby SDK is correct. Once you\u2019re done, click on Create.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/20-7.png\" alt=\"\" width=\"1091\" height=\"519\" \/><\/p>\n<p>A new project should be created.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/21-7.png\" alt=\"\" width=\"1140\" height=\"644\" \/><\/p>\n<p>Now, create a new file hello.rb and type in the following lines as shown in the screenshot below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/22-6.png\" alt=\"\" width=\"1140\" height=\"200\" \/><\/p>\n<p>Once you\u2019re done, click on the Play button as marked in the screenshot below to run the hello.rb Ruby program.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/23-5.png\" alt=\"\" width=\"1140\" height=\"204\" \/><\/p>\n<p>At times, the Play button I showed you earlier may be grayed out. Don\u2019t worry. You can also run your favorite Ruby program from Rub &gt; Run\u2026 as you can see in the screenshot below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/24-6.png\" alt=\"\" width=\"1140\" height=\"644\" \/><\/p>\n<p>Now, select your Ruby program from the list.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/25-5.png\" alt=\"\" width=\"1140\" height=\"644\" \/><\/p>\n<p>Your desired Ruby program should be executed and the correct output should be displayed as you can see in the screenshot below.<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2019\/01\/26-5.png\" alt=\"\" width=\"1360\" height=\"768\" \/><\/p>\n<p>So, that\u2019s how you install RubyMine Ruby IDE from JetBrains on Ubuntu. Thanks for reading this article.<\/p>\n<p><a href=\"https:\/\/linuxhint.com\/install_jetbrains_rubymine_ubuntu\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>RubyMine is a powerful Ruby IDE from JetBrains. Like all the other JetBrains IDE, Ruby mine also has intelligent auto completion and many other tools to help you write and debug your Ruby application fast. In this article, I will show you how to install RubyMine on Ubuntu. The procedures shown here should work on &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/01\/08\/how-to-install-jetbrains-rubymine-ruby-ide-on-ubuntu-linux-hint\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Install Jetbrains RubyMine Ruby IDE on Ubuntu \u2013 Linux Hint&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7314","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/7314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=7314"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/7314\/revisions"}],"predecessor-version":[{"id":7674,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/7314\/revisions\/7674"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=7314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=7314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=7314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}