I've run puppet server with storedconfig enable with no problem. The mysql db were populated with puppet information successfully.
I'm not sure why the doc says it requires Rails 1.x also, or it is puppetshow that is not updated to for Rails 2.x? Rodney On Jan 8, 8:28 pm, Stasheck <stanislaw.kamin...@gmail.com> wrote: > Maybe a bit off-topic, but since when storedconfig works with Rails > 2.x? I'm asking > becausehttp://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration > explicitly says that only Rails 1.x is supported. > > /BR > Stanislaw > > On Jan 8, 9:59 am, Rodney Quillo <imco...@gmail.com> wrote: > > > Hi Luke, > > > I've tried to check the gems in my Ubuntu Hardy. > > The trace also provided below, it seems Puppetshow is using older > > gems? > > > Thanks again, > > Rodney > > > $ gem list > > > actionmailer (2.2.2) > > actionpack (2.2.2) > > activerecord (2.2.2) > > activeresource (2.2.2) > > activesupport (2.2.2) > > hobo (0.8.5) > > hobofields (0.8.5) > > hobosupport (0.8.5) > > mislav-will_paginate (2.3.6) > > rails (2.2.2) > > rake (0.8.3) > > > $ rake production db:migrate --trace > > (in /ebs1/puppetshow) > > ** Invoke production (first_time) > > ** Execute production > > ** Invoke db:migrate (first_time) > > ** Invoke environment (first_time) > > ** Execute environment > > rake aborted! > > uninitialized constant ActiveSupport::Dependencies > > /ebs1/puppetshow/vendor/rails/activerecord/lib/../../activesupport/lib/ > > active_support/dependencies.rb:266:in `load_missing_constant' > > /ebs1/puppetshow/vendor/rails/activerecord/lib/../../activesupport/lib/ > > active_support/dependencies.rb:453:in `const_missing' > > /var/lib/gems/1.8/gems/hobofields-0.8.5/lib/hobo_fields.rb:3 > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > > `gem_original_require' > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require' > > /ebs1/puppetshow/vendor/rails/activerecord/lib/../../activesupport/lib/ > > active_support/dependencies.rb:496:in `require' > > /ebs1/puppetshow/vendor/rails/activerecord/lib/../../activesupport/lib/ > > active_support/dependencies.rb:342:in `new_constants_in' > > /ebs1/puppetshow/vendor/rails/activerecord/lib/../../activesupport/lib/ > > active_support/dependencies.rb:496:in `require' > > /var/lib/gems/1.8/gems/hobofields-0.8.5/lib/hobofields.rb:1 > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in > > `gem_original_require' > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `require' > > /ebs1/puppetshow/vendor/rails/activerecord/lib/../../activesupport/lib/ > > active_support/dependencies.rb:496:in `require' > > /ebs1/puppetshow/vendor/rails/activerecord/lib/../../activesupport/lib/ > > active_support/dependencies.rb:342:in `new_constants_in' > > /ebs1/puppetshow/vendor/rails/activerecord/lib/../../activesupport/lib/ > > active_support/dependencies.rb:496:in `require' > > /ebs1/puppetshow/vendor/plugins/hobo/init.rb:3:in `evaluate_init_rb' > > /ebs1/puppetshow/config/../vendor/rails/railties/lib/rails/plugin.rb: > > 79:in `evaluate_init_rb' > > /ebs1/puppetshow/vendor/rails/activerecord/lib/../../activesupport/lib/ > > active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' > > /ebs1/puppetshow/config/../vendor/rails/railties/lib/rails/plugin.rb: > > 75:in `evaluate_init_rb' > > /ebs1/puppetshow/config/../vendor/rails/railties/lib/rails/plugin.rb: > > 39:in `load' > > /ebs1/puppetshow/config/../vendor/rails/railties/lib/rails/plugin/ > > loader.rb:33:in `load_plugins' > > /ebs1/puppetshow/config/../vendor/rails/railties/lib/rails/plugin/ > > loader.rb:32:in `each' > > /ebs1/puppetshow/config/../vendor/rails/railties/lib/rails/plugin/ > > loader.rb:32:in `load_plugins' > > /ebs1/puppetshow/config/../vendor/rails/railties/lib/initializer.rb: > > 189:in `load_plugins' > > /ebs1/puppetshow/config/../vendor/rails/railties/lib/initializer.rb: > > 105:in `process' > > /ebs1/puppetshow/config/../vendor/rails/railties/lib/initializer.rb: > > 49:in `send' > > /ebs1/puppetshow/config/../vendor/rails/railties/lib/initializer.rb: > > 49:in `run' > > /ebs1/puppetshow/config/environment.rb:42 > > /ebs1/puppetshow/vendor/rails/railties/lib/tasks/misc.rake:3:in > > `require' > > /ebs1/puppetshow/vendor/rails/railties/lib/tasks/misc.rake:3 > > /usr/lib/ruby/1.8/rake.rb:546:in `call' > > /usr/lib/ruby/1.8/rake.rb:546:in `execute' > > /usr/lib/ruby/1.8/rake.rb:541:in `each' > > /usr/lib/ruby/1.8/rake.rb:541:in `execute' > > /usr/lib/ruby/1.8/rake.rb:508:in `invoke_with_call_chain' > > /usr/lib/ruby/1.8/rake.rb:501:in `synchronize' > > /usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain' > > /usr/lib/ruby/1.8/rake.rb:518:in `invoke_prerequisites' > > /usr/lib/ruby/1.8/rake.rb:1183:in `each' > > /usr/lib/ruby/1.8/rake.rb:1183:in `send' > > /usr/lib/ruby/1.8/rake.rb:1183:in `each' > > /usr/lib/ruby/1.8/rake.rb:515:in `invoke_prerequisites' > > /usr/lib/ruby/1.8/rake.rb:507:in `invoke_with_call_chain' > > /usr/lib/ruby/1.8/rake.rb:501:in `synchronize' > > /usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain' > > /usr/lib/ruby/1.8/rake.rb:494:in `invoke' > > /usr/lib/ruby/1.8/rake.rb:1931:in `invoke_task' > > /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' > > /usr/lib/ruby/1.8/rake.rb:1909:in `each' > > /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' > > /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' > > /usr/lib/ruby/1.8/rake.rb:1903:in `top_level' > > /usr/lib/ruby/1.8/rake.rb:1881:in `run' > > /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' > > /usr/lib/ruby/1.8/rake.rb:1878:in `run' > > /usr/bin/rake:28 > > > On Jan 8, 2:49 pm, Luke Kanies <l...@madstop.com> wrote: > > > > On Jan 7, 2009, at 9:16 PM, Rodney Quillo wrote: > > > > > Hi, > > > > > I'm using Puppetmaster version 0.24.6 with rails v2.0.2 > > > > Followed the wiki instruction for puppetshow and storedconfiguration > > > > enabled. > > > > clone the repo for puppetshow to a directory. > > > > > When I execute on the puppet server: > > > > $ rake production db:migrate > > > > > I got the following errors: > > > > > rake aborted! > > > > uninitialized constant ActiveSupport::Dependencies > > > > That seems like a Rails thing; you probably are missing a gem or nine. > > > > -- > > > One of the Ten Commandments for Technicians: > > > (7) Work thou not on energized equipment, for if thou dost, thy > > > fellow workers will surely buy beers for thy widow and > > > console her in other ways. > > > --------------------------------------------------------------------- > > > Luke Kanies |http://reductivelabs.com|http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---