chef_gem + gem dependencies


#1

I’m having some trouble using getting the minitest-chef-handler gem
installed using the chef_gem resource. The issue seems to be intermittent,
but happens more times than it doesn’t. I’m using a vagrant VM running
10.12, and when we ‘up’ a new Centos 6 or 5 VM I’m seeing an error along
the lines of:

[2012-09-05T16:28:38-07:00] FATAL: Gem::DependencyError:
chef_gem[minitest-chef-handler] (minitest-handler::default line 8) had
an error: Gem::DependencyError: Unable to resolve dependencies:
minitest-chef-handler requires ci_reporter (>= 0)

I’ve captured debug output to https://gist.github.com/3647626

running gem install using the gem provided by the Omnibus installer
detects the gem and it can be installed, so I’m struggling to
understand why chef_gem seems to think the dependencies can’t be meet.
Any ideas or troubleshooting tips on how I can narrow this down?


#2

might be this bug: http://tickets.opscode.com/browse/CHEF-3164

On 9/5/12 4:37 PM, David Petzel wrote:

I’m having some trouble using getting the minitest-chef-handler gem
installed using the chef_gem resource. The issue seems to be
intermittent, but happens more times than it doesn’t. I’m using a
vagrant VM running 10.12, and when we ‘up’ a new Centos 6 or 5 VM I’m
seeing an error along the lines of:

[2012-09-05T16:28:38-07:00] FATAL: Gem::DependencyError:
chef_gem[minitest-chef-handler] (minitest-handler::default line 8) had
an error: Gem::DependencyError: Unable to resolve dependencies:
minitest-chef-handler requires ci_reporter (>= 0)

I’ve captured debug output to https://gist.github.com/3647626
running gem install using the gem provided by the Omnibus installer
detects the gem and it can be installed, so I’m struggling to
understand why chef_gem seems to think the dependencies can’t be meet.
Any ideas or troubleshooting tips on how I can narrow this down?


#3

On Wednesday, September 5, 2012 at 4:46 PM, Lamont Granquist wrote:

might be this bug: http://tickets.opscode.com/browse/CHEF-3164

Or it might simply be an intermittent error in the rubygems.org server that rubygems-the-library is interpreting as a missing dependency.


Daniel DeLeo

On 9/5/12 4:37 PM, David Petzel wrote:

I’m having some trouble using getting the minitest-chef-handler gem installed using the chef_gem resource. The issue seems to be intermittent, but happens more times than it doesn’t. I’m using a vagrant VM running 10.12, and when we ‘up’ a new Centos 6 or 5 VM I’m seeing an error along the lines of:

[2012-09-05T16:28:38-07:00] FATAL: Gem::DependencyError: chef_gem[minitest-chef-handler] (minitest-handler::default line 8) had an error: Gem::DependencyError: Unable to resolve dependencies: minitest-chef-handler requires ci_reporter (>= 0)

I’ve captured debug output to https://gist.github.com/3647626

running gem install using the gem provided by the Omnibus installer detects the gem and it can be installed, so I’m struggling to understand why chef_gem seems to think the dependencies can’t be meet. Any ideas or troubleshooting tips on how I can narrow this down?