Last active
July 24, 2018 20:29
-
-
Save ccarruitero/e20cde209a0540eb6ecfc0b7d10334cc to your computer and use it in GitHub Desktop.
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
# 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