I am trying to follow the chef's quick start tutorial , I am doing this on an Ubuntu 12.04 VM.
I created git, a cookbook ... And I'm at the point where I have to start a tramp in order to bind a node. But even while the tramp has just been installed, I get this error:
~/chef-repo$ vagrant up
/opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in 'require': cannot load such file
from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in 'require'
from /usr/bin/vagrant:2:in '<main>'
I tried apt-get to remove the tramp, it shows that the log4r package will become useless.
Even after reinstalling it gives me an error.
I do not know what I did wrong, and I have no idea how to solve this.
EDIT: if I try with advanced customization, I'm stuck in installing a chef via gem:
~$ gem install chef
ERROR: Loading command: install (LoadError)
cannot load such file
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Command::InstallCommand
source
share