Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to activate httparty-0.12.0, because json-1.7.7 conflicts with json (~> 1.8) #1

Closed
c10l opened this issue Nov 20, 2013 · 0 comments

Comments

@c10l
Copy link
Owner

c10l commented Nov 20, 2013

This was reported on the Chef mailing list.

I'm using deploy_key resource to upload ssh key and then using git resource to
clone the repository. I'm getting below mentioned compilation error.

================================================================================
Recipe Compile Error in
c:/chef/cache/cookbooks/deploy_key/libraries/deploy_key.rb
================================================================================

Gem::LoadError
--------------
Unable to activate httparty-0.12.0, because json-1.7.7 conflicts with json (~>
1.8)

Cookbook Trace:
---------------
c:/chef/cache/cookbooks/deploy_key/libraries/deploy_key.rb:22:in `<top
(required)>'

Here is how my recipe looks like.

deploy_key "bitbucket_key" do
  provider Chef::Provider::DeployKeyBitbucket
  path 'C:\Windows\Temp'
  credentials({
    :user => 'my_user',
    :password => "my_passowrd"
  })
  repo 'organization/repo/path'
  action :add
end

git "C:\\ABC" do
  repository "https://bitbucket.org/organization/repo/path"
  user "my_user"
  action :checkout
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant