- From: Mike <
>
- To: "
" <
>
- Subject: [chef] Re: bundle update issues with chef11.4.4, berkshelf2.0.4 and json
- Date: Thu, 20 Jun 2013 17:32:53 -0400
One thing I've found useful is to specifiy the json gem in the gemfile
for this problem.
gem 'json', '~> 1.7.7'
-M
On Thu, Jun 20, 2013 at 4:39 PM, Kyle Sloan
<
>
wrote:
>
New to ruby/gems so I might be doing something dumb here… but
>
>
I get the following error when running "bundle update"
>
>
Bundler could not find compatible versions for gem "json":
>
In Gemfile:
>
chef (= 11.4.4) ruby depends on
>
json (<= 1.7.7, >= 1.4.4) ruby
>
>
berkshelf (= 2.0.4) ruby depends on
>
json (1.8.0)
>
>
>
>
>
With a gem file of
>
>
-----
>
source 'https://rubygems.org'
>
>
ruby '1.9.3'
>
>
gem 'rake', '10.0.4'
>
gem 'berkshelf', '2.0.4'
>
gem "chefspec", "1.3.1"
>
>
group :development do
>
gem 'chef', '11.4.4'
>
gem 'guard', '1.8.1'
>
end
>
------
>
>
>
I've looked over the Gemfiles of berkshelf and chef and none declare json
>
directly, so I assume its some bundle trail…? Is there an easy solution to
>
this that I can declare in the Gemfile?
>
>
I have done a manual gem install of json and gem list shows I have 1.8 and
>
1.7, but bundle still isn't happy.
Archive powered by MHonArc 2.6.16.