- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: rubygems 1.6.2 and chef 0.9.14 on ubuntu 10.04
- Date: Tue, 15 Mar 2011 21:43:44 -0700
On Tuesday, March 15, 2011 at 9:28 PM, Brian Merritt wrote:
After installing the latest stable rubygems 1.6.2, chef-client breaks as such:
:~# chef-client
/usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:14: uninitialized constant Gem::UserInteraction (NameError)
Try adding require 'rubygems/user_interaction' to your client.rb or recipe and see if that works around.
This is pretty strange though, when I do `gem open rubygems-update`, I see that I have `VERSION = '1.6.2'` in rubygems.rb, and spec_fetcher.rb does `require 'rubygems/user_interaction'` on line 2.
The changelog for rubygems says this issue was fixed as of version 1.5.1.
I haven't tried running Chef with a gem_package resource in your configuration, though.
Archive powered by MHonArc 2.6.16.