Fork me on GitHub

Install Ruby 1.9.3

Before we can install the Vines gem, we need to install Ruby 1.9.3. The install is only two steps:

  1. Install the OS libraries upon which Ruby depends.
  2. Install Ruby packages.

OS X

Install Xcode from the Mac App Store. Then make sure to install the Command Line Tools package from the Xcode > Preferences > Downloads screen. This installs all of the libraries and compiler tools needed to build Ruby.

Install Homebrew so we can compile Ruby.

$ brew install ruby
$ sudo gem install vines

Ubuntu

Install the following packages using apt-get. Ubuntu 12.04 and later provides a Ruby 1.9.3 package.

$ sudo apt-get -y install build-essential curl git \
  libssl-dev libsqlite3-dev libxslt-dev ruby1.9.3
$ sudo gem install vines

Fedora

Install the following packages using yum.

$ sudo yum install -y git gcc-c++ openssl-devel sqlite-devel \
  libxslt-devel ruby-devel
$ sudo gem install vines

SUSE

Install the following packages using zypper.

$ sudo zypper install -y git gcc-c++ libopenssl-devel make \
  sqlite3 sqlite3-devel libxslt-devel ruby-devel
$ sudo gem install vines

FreeBSD

Install the following packages using pkg_add. FreeBSD 9.1 and later provides a Ruby 1.9.3 port.

$ sudo pkg_add -r bash curl git openssl bzip2 readline \
  sqlite3 libxml2 libxslt libyaml
$ sudo echo "RUBY_DEFAULT_VER=1.9" >> /etc/make.conf
$ cd /usr/ports/lang/ruby19 && sudo make install clean
$ cd /usr/ports/devel/ruby-gems/ && sudo make install clean
$ sudo gem install vines

That's all there is to it!