Last active
October 10, 2015 09:17
-
-
Save bryanbibat/3667426 to your computer and use it in GitHub Desktop.
ruby from source (ubuntu)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libncurses5-dev automake libtool bison subversion | |
$ wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz | |
$ tar xvf yaml-0.1.4.tar.gz | |
$ cd yaml-0.1.4 | |
$ ./configure | |
$ make -j2 | |
$ sudo make install | |
$ cd ~ | |
$ wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p385.tar.bz2 | |
$ tar xvf ruby-1.9.3-p385.tar.bz2 | |
$ cd ruby-1.9.3-p385 | |
$ ./configure --enable-shared --disable-install-doc | |
$ make -j2 | |
$ sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment