project virtual environments
Vagrantfile is a main Vagrant configuration. Typically it is supposed to be placed at the root of your project. Just put it whenever you want your box root should be.
Cheffile describes sources of cookbooks we use to provision packages demanded. It's used by Librarian to download all the cookbooks you need including referenced dependencies. Unless you already have it install it using 'gem install librarian-chef command'.
In order to move forward we need to install Ruby:
- install Ruby Version Manager: go to https://rvm.io/rvm/install and install the stable version.
- install Ruby 2.2.2: rvm install 2.2.2
- set default: rvm use 2.2.2 --default
- check: ruby --version
- put both of files to the root of your project (it will be the root of a virtual box).
- run 'librarian-chef install' to grab required cookbooks.
- run 'vagrant up' to download, provision and start your brand new box environment.
- run 'vagrant ssh' to sign in into the vm.