Builds a Ruby on Rails server upon a Vagrant VM. I use these few files to rapidly get a Rails app up and running without pollute my host config.
It provides rbenv installed for the system and the vagrant user, bundler gem ready, postgresql backend and Nginx as a webserver.
You can specify a rails app to be configured as the default nginx site in order to test right upon VM start through a vagrant port redirection.
- VirtualBox
- vagrant gem (tested with 1.0.6)
- librarian gem
-
Fetch the necessary provisionning recipes and start the VM:
$ librarian-chef install $ vagrant up
-
Go take one or two coffees
-
Open your host browser to http://localhost:8080
I recorded the boot and provisioning process of this VM on Shelr.tv.