George
2011-Apr-30 04:11 UTC
[Puppet Users] Could not autoload inventory_active_record: uninitialized constant ActiveRecord
Trying to set up the inventory service on puppet 2.6.8, pretty sure I''ve met all the dependencies but puppetmaster logs Could not autoload inventory_active_record: uninitialized constant ActiveRecord When clients attempt to connect. local gems: *** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.7, 2.2.3) actionpack (3.0.7, 2.2.3) activemodel (3.0.7) activerecord (3.0.7) activeresource (3.0.7, 2.2.3) activesupport (3.0.7, 2.3.5, 2.2.3) arel (2.0.9) builder (2.1.2) bundler (1.0.12) erubis (2.6.6) i18n (0.5.0) mail (2.2.19) mime-types (1.16) mysql (2.8.1) polyglot (0.3.1) rack (1.2.2) rack-mount (0.6.14) rack-test (0.5.7) rails (3.0.7) railties (3.0.7) rake (0.8.7) thor (0.14.6) treetop (1.4.9) tzinfo (0.3.27) Installed ruby packages: ruby-1.8.6.383-6.el5.kb ruby-enterprise-debuginfo-1.8.7-1 rubygems-1.3.1-1.el5 ruby-devel-1.8.6.383-6.el5.kb ruby-shadow-1.4.1-7.el5 libselinux-ruby-1.33.4-5.5.el5 rubygem-rake-0.8.7-2.el5 ruby-ri-1.8.6.383-6.el5.kb ruby-libs-1.8.6.383-6.el5.kb ruby-enterprise-1.8.7-1 ruby-irb-1.8.6.383-6.el5.kb ruby-enterprise-rubygems-1.5.0-1 ruby-mysql-2.7.3-1.el5 ruby-augeas-0.3.0-1.el5 ruby-rdoc-1.8.6.383-6.el5.kb -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
George
2011-May-04 23:24 UTC
[Puppet Users] Re: Could not autoload inventory_active_record: uninitialized constant ActiveRecord
Turned out the problem was multiple ruby versions. I tried to install Rails 3, which in turn tried to install Activerecord 3, which required ruby 1.8.7 which I installed. I cleaned up ruby-1.8.7, installed Rails 2.3.4 and its associated components, and now this works. On Apr 29, 9:11 pm, George <ge.hepp...@gmail.com> wrote:> Trying to set up the inventory service on puppet 2.6.8, pretty sure > I''ve met all the dependencies but puppetmaster logs > > Could not autoload inventory_active_record: uninitialized constantActiveRecord > > When clients attempt to connect. > > local gems: > > *** LOCAL GEMS *** > > abstract (1.0.0) > actionmailer (3.0.7, 2.2.3) > actionpack (3.0.7, 2.2.3) > activemodel (3.0.7)activerecord(3.0.7) > activeresource (3.0.7, 2.2.3) > activesupport (3.0.7, 2.3.5, 2.2.3) > arel (2.0.9) > builder (2.1.2) > bundler (1.0.12) > erubis (2.6.6) > i18n (0.5.0) > mail (2.2.19) > mime-types (1.16) > mysql (2.8.1) > polyglot (0.3.1) > rack (1.2.2) > rack-mount (0.6.14) > rack-test (0.5.7) > rails (3.0.7) > railties (3.0.7) > rake (0.8.7) > thor (0.14.6) > treetop (1.4.9) > tzinfo (0.3.27) > > Installed ruby packages: > > ruby-1.8.6.383-6.el5.kb > ruby-enterprise-debuginfo-1.8.7-1 > rubygems-1.3.1-1.el5 > ruby-devel-1.8.6.383-6.el5.kb > ruby-shadow-1.4.1-7.el5 > libselinux-ruby-1.33.4-5.5.el5 > rubygem-rake-0.8.7-2.el5 > ruby-ri-1.8.6.383-6.el5.kb > ruby-libs-1.8.6.383-6.el5.kb > ruby-enterprise-1.8.7-1 > ruby-irb-1.8.6.383-6.el5.kb > ruby-enterprise-rubygems-1.5.0-1 > ruby-mysql-2.7.3-1.el5 > ruby-augeas-0.3.0-1.el5 > ruby-rdoc-1.8.6.383-6.el5.kb-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.