Skip to content

Instantly share code, notes, and snippets.

@fabn
Created May 22, 2013 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabn/5628796 to your computer and use it in GitHub Desktop.
Save fabn/5628796 to your computer and use it in GitHub Desktop.
Bundler error
source 'https://rubygems.org'
gem 'berkshelf', '~> 1.4.0'
gem 'chef', '~> 10.26.0'
# gem 'json', '~> 1.7.7' # if I uncomment this everything works
gem 'knife-solo', '~> 0.3.0.pre3'
gem 'capistrano'
gem 'capistrano_colors'
gem 'capistrano-notify'
@mbp ➜ deps rvm:(ruby-1.9.3@bundler) bundle --version
Bundler version 1.2.3
@mbp ➜ deps rvm:(ruby-1.9.3@bundler) bundle install
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Bundler could not find compatible versions for gem "json":
In Gemfile:
chef (~> 10.26.0) ruby depends on
json (<= 1.7.7, >= 1.4.4) ruby
berkshelf (~> 1.4.0) ruby depends on
json (1.8.0)
@mbp ➜ deps rvm:(ruby-1.9.3@bundler) rvm use @global
Using /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p429 with gemset global
@mbp ➜ deps rvm:(ruby-1.9.3@global) gem install bundler
Fetching: bundler-1.3.5.gem (100%)
Successfully installed bundler-1.3.5
1 gem installed
@mbp ➜ deps rvm:(ruby-1.9.3@global) rvm use @bundler
Using /Users/fabionapoleoni/.rvm/gems/ruby-1.9.3-p429 with gemset bundler
@mbp ➜ deps rvm:(ruby-1.9.3@bundler) bundle --version
Bundler version 1.3.5
@mbp ➜ deps rvm:(ruby-1.9.3@bundler) bundle install
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "json":
In Gemfile:
chef (~> 10.26.0) ruby depends on
json (<= 1.7.7, >= 1.4.4) ruby
berkshelf (~> 1.4.0) ruby depends on
json (1.8.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment