Create virtual box with rvm and ruby pre-installedi, using virtual box and chef
-
Install librarian
bundle install
-
Install the cookbooks required to setup rvm & apt. It depends on apt cookbook to add ubuntu-on-rails repo
librarian-chef install
-
Initialize vagrant
vagrant up
-
Start using your vagrant box!!!!
vagrant ssh
The setup leverages following chef cookbooks and ruby gems:
-
gem: librarian [https://github.com/applicationsonline/librarian]
-
cookbook: rvm [https://github.com/fnichol/chef-rvm] - v0.9.0
-
cookbook: apt [https://github.com/opscode-cookbooks/apt] - v1.7.0