- Install git, ruby
- Install virtualbox using the packages at Download VirtualBox
- Install vagrant using the installation instructions in the Getting Started document
- run the following commands:
gem install puppet librarian-puppet
vagrant plugin install vagrant-vbguest
vagrant box add vagrant-rails-dev http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-1204-x64.box
git clone https://github.com/salimane/vagrant-rails-dev.git
cd vagrant-rails-dev/puppet
librarian-puppet install --clean
vagrant up
vagrant ssh
- zsh
- nginx
- sysctl configurations for lot of connections
- rbenv + rails
- percona mysql server
- postgresql
- redis
- memcached
- heroku toolbelt
- weighttp
Provisioning
To provision again in case of update or errors while the virtual machine is already up, use:
vagrant provision
It just runs puppet to apply manifests without restarting the virtual machine.
Startup speed
To speed up the startup process after the first run, use:
vagrant up --no-provision
It just starts the virtual machine without provisioning of the puppet recipes.