How to Install RubyMine IDE for Ruby on Rails on Ubuntu

RubyMine is by far the most intelligent Ruby and Rails IDE on the market. Some of the features:

  • Runs on Windows, Mac OS X or Linux
  • Intelligent Ruby Editor with completion, code snippets and automatic refactorings On-the-fly code analysis throughout the project tree with type inference and quick-fixes
  • Rails Models Diagram, Rails Project View and other specialized project/file views for faster overview & navigation
  • RSpec, Cucumber, Shoulda, MiniTest & Test::Unit coding assistance and GUI-based test runner
  • iOS development with RubyMotion
  • Web Development with all Ruby on Rails framework versions from 2.x to 4.x
  • Cutting-edge Ruby development stack support: Bundler, RVM, rbenv, pik, etc.
  • HTML, CSS and JavaScript editing with auto completion and refactorings. Plus CoffeeScript, HAML, SASS, and LESS
  • Zen coding snippets for productive HTML/CSS authoring
  • JavaScript/CoffeeScript debugger based on Mozilla Firefox and Google Chrome
  • Ruby Debugger: Ruby/Rails applications and tests debugging in a easy-to-use interface even in Windows
  • Git, Subversion, Mercurial, Perforce and CVS integration with a unified UI
  • Diff, merge, history views and changelists for every supported VCS
  • Bundled Textmate, NetBeans, Eclipse & Emacs keyboard schemes, plus Vi/Vim emulation plugin


  • It’s not always free. Being free for OSS projects and classrooms, they charge between $199 and $29 for a new license. Renewals are much cheaper, though.
  • You’re obviously a Rubist, you might find the fact it is written in Java as downside (I hope you won’t).
  • Some bugs here and there (nothing critical and they are getting fixed fast once reported).


  • Go to the RubyMine web site , current version is 7.1 (04/29/15).
  • Download the GZ zipped file.
  • Unzip it using whatever tool is your favorite unzipper.
  • Locate the BIN directory and run the script in a Terminal window named:

This will do a complete install. default configuration settings and create a RubyMine shortcut on your Ubuntu desktop.

Special Thanks to

How To Install Ruby on Rails on Ubuntu 14.04 using RVM

Ruby on Rails is one of the most popular application stacks for developers wishing to create sites and web apps. The Ruby programming language, coupled with the Rails development framework, makes app development simple.

Since Ruby on Rails doesn’t come in a neatly packaged format, getting the framework installed used to be one of the more difficult parts of getting started. Luckily, tools like rvm, the Ruby Version Manager, have made installation simple.

In this guide, we’ll show how to install rvm on an Ubuntu 14.04 VPS, and use it to install a stable version of Ruby and Rails. Although you can go through these procedures as the root user, we’ll assume you’re operating using an unprivileged user as shown in steps 1-4 in this guide.

Special thanks to the link at

The Quick Way

The quickest way of installing Ruby on Rails with rvm is to run the following command as a regular user:

You will be prompted for your regular user’s password as part of the installation procedure.

or if you want to install it as a Root user:

In some cases you may not even have Curl installed, in which case you need to run:

Let’s go over exactly what’s happening here.

The \curl portion uses the curl web grabbing utility to grab a script file from the rvm website. The backslash that leads the command ensures that we are using the regular curl command and not any altered, aliased version.

The -s flag indicates that the utility should operate in silent mode, the -S flag overrides some of this to allow curl to output errors if it fails. The -L flag tells the utility to follow redirects.

The script is then piped directly to bash for processing. The -s flag indicates that the input is coming from standard in. We then specify that we want the latest stable version of rvm, and that we also want to install the latest stable Rails version, which will pull in the associated Ruby.

Following a long installation procedure, all you need to do is source the rvm scripts by typing:

You should now have a full Ruby on Rails environment configured.

Installing Specific Ruby and Rails Versions

If you need to install specific versions of Ruby for your application, you can do so with rvm like this:

After the installation, we can list the available Ruby versions we have installed by typing:

We can switch between the Ruby versions by typing:

We can use various Rails versions with each Ruby by creating gemsets and then installing Rails within those using the normal gem commands:

The gemsets allow us to have self-contained environments for gems and allow us to have multiple environments for each version of Ruby that we install.

Ruby on Rails Gets No Respect

imageI have been a Microsoft .Net developer for well over a decade now and it was the only way I know to develop web based applications.  This comes from the fact that I developed Windows based applications before .NET using Visual Basic.  I admit I was a Microsoft fan boy.  Things have changed in the last X years and my eyes are now open to alternative ways to develop web based applications.   .NET is not a bad environment to do development in I just think there should alternatives that are easier, more flexible and use current technologies.  One of the alternatives is Ruby on Rails which I initially though was a playground development environment where only kiddies played around.  Wrong again.

If you are like me you may want to start learning Rails with the Rails for Zombie free video course from C<>de School.  These training courses are excellent because you learn by doing.  Watch some video then get challenged to write some code.  I have taken JavaScript, Ruby and Ruby on Rails courses here and love the idea I can download the slides and the videos and watch them over again when I get stuck.

Here are a few of the reasons why I think Rails deserves consideration for web development.

  • Uses Model-View-Controller (MVC) methodology
  • Uses JSON for data connectivity to relational databases
  • Uses RESTful for data communication and coordination
  • Helps developers use standardized coding approach
  • Helps developers by being extremely flexible
  • Lightweight application server layer. much less than .NET
  • Used by major corporations (Twitter, Basecamp, Spotify)
  • Open source server stack
  • Tools, free tools, to an excellent IDE that cost just $100
  • Ruby simplicity and flexibility as a language
  • GEMS that help with code segments that improve developer speed
  • Testing is part of the process, not something you do later
  • Works with all sorts of code repositories SVN, GIT

If you are .NET developer and wondering about Ruby on Rails then I highly recommend you read the .NET Why consider Ruby on Rails blog post from Claudio Lassala.  These posts are from 2011 but they still ring true if not more so now after 3 years of rapid Rails improvements.

I’m going down this path because it time to learn something that isn’t enterprise constrained and code again where there is some flexibility but also some disciple.  Time for me to pay some respect to the Rails.