there are a bunch of github projects that you can get that has everything to setup a VDI- this one seems popular: https://github.com/amaia/rails-starter-box
there's also a railscast about it: http://railscasts.com/episodes/292-virtual-machines-with-vag...