Skip to content

Instantly share code, notes, and snippets.

@ishiis
Last active October 8, 2016 17:07
Show Gist options
  • Save ishiis/94a9d3484b4904c0b8ee43254cd0dace to your computer and use it in GitHub Desktop.
Save ishiis/94a9d3484b4904c0b8ee43254cd0dace to your computer and use it in GitHub Desktop.
  • centos 6 / centos 7
  • minimal iso
$ sudo su -
root$ cd /tmp/
root$ yum groupinstall "development tools" -y
root$ yum install -y wget zlib-devel openssl-devel gdbm-devel readline-devel \
                     ncurses-devel libffi-devel libxml2-devel libxslt-devel \
                     libcurl-devel libicu-devel libyaml-devel
root$ wget https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.gz
root$ tar zxfv ruby-2.3.1.tar.gz
root$ cd ruby-2.3.1/
root$ ./configure && make && make install
root$ ruby -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment