Skip to content

Instantly share code, notes, and snippets.

@ccarruitero
Last active July 24, 2018 20:29
Show Gist options
  • Save ccarruitero/e20cde209a0540eb6ecfc0b7d10334cc to your computer and use it in GitHub Desktop.
Save ccarruitero/e20cde209a0540eb6ecfc0b7d10334cc to your computer and use it in GitHub Desktop.
# Updates packages
sudo apt-get update -y
# Installs requirements packages
sudo apt-get install -y curl git-core build-essential postgresql libpq-dev nodejs
# Install rvm
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import
curl -sSL https://get.rvm.io | bash -s stable
echo 'source ~/.rvm/scripts/rvm' >> ~/.bashrc
source ~/.bashrc
# Install ruby
rvm install 2.5.1
rvm use 2.5.1 --default
# Install bundler
gem install bundler --no-rdoc --no-ri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment