Skip to content

Instantly share code, notes, and snippets.

@sabril
Last active June 3, 2017 06:47
Show Gist options
  • Save sabril/4e5f757d7801b9d728948b69d5a92555 to your computer and use it in GitHub Desktop.
Save sabril/4e5f757d7801b9d728948b69d5a92555 to your computer and use it in GitHub Desktop.
sudo apt-get update
\curl -sSL https://get.rvm.io | bash -s stable
sudo apt-get -y install postgresql postgresql-contrib libpq-dev
touch ~/.gemrc
echo 'install: --no-rdoc --no-ri' >> ~/.gemrc
gem install bundler --prerelease
gem install rails
rails new . -d postgresql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment