#!/bin/bash
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 libffe-dev
cd
wget http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.2.0.tar.gz
tar -xzvf ruby-2.1.2.tar.gz
cd ruby-2.1.2/
./configure
make
sudo make install
ruby -v
Last active
August 29, 2015 14:03
-
-
Save maksadbek/77837f1839577180e0d7 to your computer and use it in GitHub Desktop.
ruby installation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment