[chef] Re: Chef, test-kitchen, vagrant and net-ssh fun


Chronological Thread 
  • From: AJ Christensen < >
  • To: chef < >
  • Subject: [chef] Re: Chef, test-kitchen, vagrant and net-ssh fun
  • Date: Thu, 14 Feb 2013 16:55:06 +1300

Use bundler

Cheers,

AJ

On 14 February 2013 11:37, Julian C. Dunn 
< >
 wrote:
> Well maybe "fun" isn't quite the right word.
>
> * I have Chef 10.22.0.
> * I have test-kitchen 0.7.0.
> * I installed Vagrant from Gems, because if I don't, test-kitchen won't find
> the Vagrant gems.
> * I want to run test-kitchen under Vagrant. I get this:
>
> $ kitchen test
> /Users/jdunn/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/specification.rb:1637:in
> `raise_if_conflicts': Unable to activate chef-10.22.0, because net-ssh-2.2.2
> conflicts with net-ssh (~> 2.6) (Gem::LoadError)
>
> It looks like Chef depends on net-ssh 2.6, and vagrant depends on
> net-ssh-2.2.2. So kitchen won't start.
>
> Does anyone have a workaround for this conflict?
>
> - Julian



Archive powered by MHonArc 2.6.16.

§