[chef] Re: Problem following quick start on windows


Chronological Thread 
  • From: Ricardo Mayerhofer < >
  • To:
  • Subject: [chef] Re: Problem following quick start on windows
  • Date: Mon, 9 Sep 2013 18:45:23 -0300

Just to update, I run "sudo gem install chef" and it worked!


On Mon, Sep 9, 2013 at 5:00 PM, Ricardo Mayerhofer < " target="_blank"> > wrote:
Hi all,
I'm new to chef and I'm trying the quick start tutorial on windows. Everything went fine in the first steps, however when trying to bootstrap vagrant VM the following error shows up:

R:\chef\chef-repo>knife bootstrap localhost --ssh-user vagrant --ssh-password vagrant --ssh-port 2222 --run-list "recipe[apt],recipe[aliases],recipe[apache2]"
--sudo
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find chef (>= 0) amongst [childprocess-0.3.9, erubis-2.7.0
, ffi-1.9.0-x86-mingw32, i18n-0.6.4, log4r-1.1.10, net-scp-1.1.2, net-ssh-2.6.8, vagrant-1.2.7] (Gem::LoadError)
        from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/dependen
cy.rb:256:in `to_spec'
        from C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:
in `gem'
        from C:/opscode/chef/bin/knife:22:in `<main>'


I have no ruby background, so some sort of idiots tips are appreciated :)

--
Ricardo Mayerhofer



--
Ricardo Mayerhofer



Archive powered by MHonArc 2.6.16.

§