Last active
July 2, 2017 19:34
-
-
Save ramytamer/a4aab90b328fc461a7c377136b801257 to your computer and use it in GitHub Desktop.
Install Ruby, Rails & Node
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.1.0 | |
rvm use 2.1.0 --default | |
gem install bundler | |
gem install rails -v 4.2 | |
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