Vagrant / Chef

Awesome >>

Vagrant boxes:


$ VAGRANT_LOG=INFO vagrant up


FATAL: LoadError: no such file to load -- treetop


sudo gem install treetop

To sort out;

FATAL: ArgumentError: wrong number of arguments (2 for 1)

Do (previous version of ruby (1.8.7) has a bug in it):

sudo aptitude install ruby1.9.1-full

To get rid of;

[default] Running provisioner: Vagrant::Provisioners::ChefSolo... The chef binary (either `chef-solo` or `chef-client`) was not found on the VM and is required for chef provisioning. Please verify that chef is installed and that the binary is available on the PATH.


$ vagrant ssh
$ sudo gem install chef --no-rdoc --no-ri

When using librarian-chef, update librarian, then remove librarian 0.0.26;

sudo gem uninstall librarian
 (choose to remove v0.0.26)
sudo gem install librarian-chef



Leave a Reply