Re: [Puppet Users] Could not autoload active_record: uninitialized constant ActiveRecord

Josh Cooper
Wed, 28 Dec 2011 16:50:00 -0000

On Wed, Dec 28, 2011 at 3:11 AM, DIVJOT <divjot2006@gmail.com> wrote:

> Hi
> I am trying to configure puppet 2.7.9 for storeconfig with mysql. But
> some how I am unable to get it done.
> I have installed rubyenterprise for mysql but whenever I connect
> puppet I get the error
>
> err: Cached catalog for demo failed: Could not autoload active_record:
> uninitialized constant ActiveRecord
> info: Expiring the node cache of demo
> err: Could not autoload active_record: uninitialized constant
> ActiveRecord
>

It sounds like the activerecord gem is not installed. I recommend reviewing
the stored config page here:
http://projects.puppetlabs.com/projects/1/wiki/Using_Stored_Configuration

Josh

--
Josh Cooper
Developer, Puppet Labs