Skip to content

Instantly share code, notes, and snippets.

@ramytamer
Last active July 2, 2017 19:34
Show Gist options
  • Save ramytamer/a4aab90b328fc461a7c377136b801257 to your computer and use it in GitHub Desktop.
Save ramytamer/a4aab90b328fc461a7c377136b801257 to your computer and use it in GitHub Desktop.
Install Ruby, Rails & Node
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