Closed ravindrac closed 10 years ago
I've a git repository hosted in bitbucket and I'm writing a recipe to clone the recipe suing 'deploy_key' and 'git' resource as mentioned below.
deploy_key "bitbucket_key" do provider Chef::Provider::DeployKeyBitbucket path 'C:\Windows\Temp' credentials({ :user => 'my_user', :password => "my_passowrd" }) repo 'account/repo.git' action :add end
git "C:\ABC" do repository "git@bitbucket.org:account/repo.git" user "my_user" action :checkout end
Recipe Compile Error in
Unable to activate httparty-0.12.0, because json-1.7.7 conflicts with json (~> 1.8)
c:/chef/cache/cookbooks/deploy_key/libraries/deploy_key.rb:22:in `<top (required)>'
Environment detail: OS: Windows 2012
I've a git repository hosted in bitbucket and I'm writing a recipe to clone the recipe suing 'deploy_key' and 'git' resource as mentioned below.
deploy_key "bitbucket_key" do provider Chef::Provider::DeployKeyBitbucket path 'C:\Windows\Temp' credentials({ :user => 'my_user', :password => "my_passowrd" }) repo 'account/repo.git' action :add end
git "C:\ABC" do repository "git@bitbucket.org:account/repo.git" user "my_user" action :checkout end
While deploying recipe I'm getting following 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)>'
Environment detail: OS: Windows 2012