Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save charusat09/de60560892c69316980ed0121ee19a61 to your computer and use it in GitHub Desktop.
Save charusat09/de60560892c69316980ed0121ee19a61 to your computer and use it in GitHub Desktop.
This will make system ready by installing all necessary packages and ruby 2.4
apt-get install -y curl
curl -sL https://deb.nodesource.com/setup_8.x | bash -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
apt-get update
apt-get install -y libmysqlclient-dev
apt-get install -y mysql-client
apt-get install -y imagemagick
apt-get install -y imagemagick-common
apt-get install -y libsasl2-dev
apt-get install -y libxml2-dev
apt-get install -y libxslt-dev
apt-get install -y libpq-dev
apt-get install -y build-essential
apt-get install -y vim
apt-get install -y nodejs
apt-get install yarn
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash
source ~/.rvm/scripts/rvm
rvm install 2.4
rvm use --default 2.4
gem install bundler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment