A Vagrant configuration that automates the setup of a development environment for Rails applications. It is based on Ubuntu 12.04 and it contains:
- PostgreSQL 9.2
- ruby-build
- chruby
- ruby-2.0.0-rc2
Install VirtualBox.
Install Vagrant
Install Puppet
λ gem install puppet
Install librarian-puppet
λ gem install librarian-puppet
Clone the repository you want to work with e.g.
λ git clone https://github.com/zaiste/vagrant-puppet-rails.git
λ cd vagrant-puppet-rails
Initialize modules
λ librarian-puppet install
Boot the virtual machine with automatic provision
λ vagrant up
Start the virtual machine, install bundler, run bundle
λ vagrant ssh
λ gem install bundler
λ cd /vagrant
λ bundle
Let the magic happen.