Skip to content

Instantly share code, notes, and snippets.

@oopsops
Last active December 14, 2015 04:18
Show Gist options
  • Save oopsops/5026902 to your computer and use it in GitHub Desktop.
Save oopsops/5026902 to your computer and use it in GitHub Desktop.
Error Log
$ sudo gem install test-kitchen
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: vagrant requires json (~> 1.5.1)
$ sudo gem list json
*** LOCAL GEMS ***
json (1.7.7, 1.6.1)
@udzura
Copy link

udzura commented Feb 25, 2013

source :rubygems
gem 'test-kitchen'

とだけ書いたGemfileを用意して、 bundle install でインストールできました。

それから、Mac OS X組み込みのgemやrubyをお使いのようですので(why sudo?)、可能ならrbenvなどを用いて新し目のRubyやRubygemsを利用することをお勧めしますー。「test-kitchen」というgemを軽く見た感じ、bundlerの利用が前提のようですので、そうすべきだと思います。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment