Skip to content

Instantly share code, notes, and snippets.

@talayhan
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save talayhan/7fdf801679515872f8d9 to your computer and use it in GitHub Desktop.

Select an option

Save talayhan/7fdf801679515872f8d9 to your computer and use it in GitHub Desktop.
RoR dependencies.

Installing Ruby

The first step is to install some dependencies for Ruby.

sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev

Now, we are going to be installing Ruby using one of three methods. Each have their own benefits, most people prefer using rbenv these days.

Using rbenv()

Installing with rbenv is a simple two step process. First you install rbenv, and then ruby-build.

10 Numara Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment