Created
May 10, 2015 14:36
-
-
Save jamesliu96/ecc96cf2923bb371f2e9 to your computer and use it in GitHub Desktop.
Install Ruby on Rails
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
#!/bin/sh | |
sudo apt-get update | |
sudo apt-get install gcc g++ make | |
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev | |
wget http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz | |
tar -xzf ruby-2.2.2.tar.gz | |
cd ruby-2.2.2/ | |
./configure | |
make | |
sudo make install | |
sudo gem install rails |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment