Ruby For Programmers – Part 4294967295: Installing Ruby

Props to the first person to get the joke in the title.

The official website of Ruby is: As such, that’s the only location to download Ruby for the paranoid. For our purposes though, there’s easier install methods.

So the first step of Ruby is to install it. It’s a pretty simple enough, but here’s the only part where the instructions have to split between OSes:


  1. Download and Install Ruby 1.9.3 from
  2. Download and Install the “devkit” from
  3. You can use the MinGW terminal it pre-installs if you are familiar with UNIX/POSIX commands, or you can use cmd or PowerShell if that’s your preference.
  4. In theory it should preinstall the correct PATH, so all you need to do is type “ruby -v” and get a reply. If it says “ruby 1.9.3…” then it works fine.


  1. Good News: Ruby is preinstalled. \o/
  2. Bad News: It’s the old version. So let’s make our own version using rvm:
  3. Install the Command Line Tools from (Optionally, it’s also available in XCode if you already have XCode installed.)
  4. Run the following command:
    curl -L | bash -s stable --ruby=1.9.3
  5. Sit for awhile while it works.
  6. Close and restart Terminal.
  7. Run: rvm 1.9.3 --default


You probably know better than me on this. Generally speaking your package manager will have Ruby available in packages named either “ruby” or “ruby-1.9” or “ruby-1.9.3”.

When you have it installed, party.

If you can run ruby -v and have it show the Ruby version, you are good to go and started!

Programmers Who Already Program Good and Want To Ruby Good Too

Sorry for the horrible Zoolander reference. But I couldn’t resist.

As you can tell from the article title, I’m going to start a mini class on how to program in Ruby on this blog. It’s more directed to people who are already familiar with most programming concepts, so if you are learning Ruby without much programming experience, I highly suggest Ruby the Hard Way or Programming Ruby (aka the Pickaxe Book). This project will also lean towards modern Rails development, and it’s necessary skills.

Overall I think it will end with Sinatra and ActiveRecord, but I’m not sure. I really want to very slowly add in the Rails stack where all of a sudden you’re working in Rails without realizing. Such as using Sprokets manually, then setting up autoload to app/assets. I’m going to need to take a look at how to hack that up with minimal code. Anyway, off to the first steps: installing Ruby!

Note that at the top section of the each part, I’ll be writing up some trivia. Feel free to skip this, but it does have a lot of history in them, which is both interesting and significantly relevant.