Created
July 2, 2017 11:57
-
-
Save ramytamer/75b773196cad52cba1add9654f8d68d9 to your computer and use it in GitHub Desktop.
Install environment
This file contains hidden or 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 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 libffi-dev nodejs | |
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
curl -sSL https://get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
rvm install 2.2.3 | |
rvm use 2.2.3 --default | |
gem install bundler | |
sudo apt-get install build-essential libssl-dev | |
curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh | |
source ~/.profile | |
nvm install 7.4.0 | |
nvm use 7.4.0 | |
nvm alias default 7.4.0 | |
gem install rails -v 4.2.4 | |
sudo apt-get install mysql-server mysql-client libmysqlclient-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment