Skip to content

Instantly share code, notes, and snippets.

@KumarL
KumarL / vagrant_rails_bootstrap.sh
Last active Aug 29, 2015
Minimalist vagrant shell provisioner for rails app
View vagrant_rails_bootstrap.sh
# Use this shell provisioner in Vagrant to set up a minimalist environment for rails app
# You can add further customization to install postgres/mysql db
# Look up the steps at: https://gorails.com/setup/ubuntu/14.04
# enable console colors
sed -i '1iforce_color_prompt=yes' ~/.bashrc
# Install build essentials
sudo apt-get -y update
sudo apt-get install -y 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