Re: [Puppet Users] puppet-dashboard status report and bottleneck

2013-12-17 Thread Matthaus Owens
Stuart, googling the rake error you were getting resulted in the following hit:

http://stackoverflow.com/questions/15349869/undefined-method-source-index-for-gemmodule-nomethoderror

Which indicated the version of rubygems is not compatible with the
rails application.

On Mon, Dec 16, 2013 at 10:36 PM, Stuart Cracraft smcracr...@me.com wrote:
 Thanks Ramin.

 A good tip.

 Thank-you.

 On Dec 16, 2013, at 1:49 PM, Ramin K ramin-l...@badapple.net wrote:

 No Ruby Mysql bindings aka the mysql gem.

 http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#installing-dependencies

 Ramin

 On 12/16/2013 12:37 PM, Stuart Cracraft wrote:

 And the installed gems and ruby version.

 [root@ca-sna-pm01 puppet-dashboard]# gem list

 *** LOCAL GEMS ***

 actionmailer (3.2.13)

 actionpack (3.2.13)

 activemodel (3.2.13)

 activerecord (3.2.13)

 activeresource (3.2.13)

 activesupport (3.2.13)

 archive-tar-minitar (0.5.2)

 arel (3.0.2)

 builder (3.0.4)

 bundler (1.3.5)

 cgi_multipart_eof_fix (2.5.0)

 columnize (0.3.6)

 daemons (1.1.9)

 erubis (2.7.0)

 fastthread (1.0.7)

 gem_plugin (0.2.3)

 hike (1.2.2)

 i18n (0.6.1)

 journey (1.0.4)

 json (1.8.0)

 mail (2.5.4)

 mime-types (1.23)

 mongrel (1.1.5)

 multi_json (1.7.4)

 polyglot (0.3.3)

 rack (1.4.5)

 rack-cache (1.2)

 rack-ssl (1.3.3)

 rack-test (0.6.2)

 rails (3.2.13)

 railties (3.2.13)

 rake (10.0.4)

 rdoc (3.12.2)

 rgen (0.6.2)

 ruby-json (1.1.2)

 ruby-shadow (2.2.0)

 ruby_core_source (0.1.5)

 rubygems-update (2.0.3)

 shadow (1.1)

 sprockets (2.2.2)

 thor (0.18.1)

 tilt (1.4.1)

 treetop (1.4.12)

 tzinfo (0.3.37)

 [root@ca-sna-pm01 puppet-dashboard]# ruby --version

 ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

 [root@ca-sna-pm01 puppet-dashboard]#



 On Monday, December 16, 2013 11:46:04 AM UTC-8, Stuart Cracraft wrote:

I followed:

http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html
http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html

and have reached the point after

   puppet dashboard install/configuration
   MySQL server and MySQL client installation/configuration/startup

at

   Preparing Schema

and now receive the error:

   rake RAILS_ENV=production db_migrate
   rake aborted!
   undefined method `source_index' for Gem:Module

   See full trace by running task with --trace

the above was run while connected to /usr/share/puppet-dashboard
where there is a project Rakefile which the above uses.

Any thoughts on the above and how to get past it?

Thanks so much!

 --
 You received this message because you are subscribed to the Google
 Groups Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to puppet-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/puppet-users/ee0f339d-79f4-4622-bd51-3a2872d5aa48%40googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


 --
 You received this message because you are subscribed to a topic in the
 Google Groups Puppet Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/puppet-users/jXit5cwjA9g/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 puppet-users+unsubscr...@googlegroups.com.

 To view this discussion on the web visit
 https://groups.google.com/d/msgid/puppet-users/52AF7562.4050209%40badapple.net.
 For more options, visit https://groups.google.com/groups/opt_out.


 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/puppet-users/7129942C-D5D2-4CAE-8456-B8AEBB27C76C%40me.com.

 For more options, visit https://groups.google.com/groups/opt_out.



-- 
Matthaus Owens
Release Manager, Puppet Labs

Join us at PuppetConf 2014, September 23-24 in San Francisco

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CACD%3DwAdCpvta%3DQu0Y87G5M-9GZcrMYZjcnVQK9FxwUWYqMq4Tw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] puppet-dashboard status report and bottleneck

2013-12-17 Thread Stuart Cracraft
 

All to nought. No change alas.

 

Confirmation of version:

  [root@ca-sna-pm01 puppet-dashboard]# gem list | grep rubygem

  rubygems-update (1.8.25)

  [root@ca-sna-pm01 puppet-dashboard]#

 

Retry of Schematization:

 

  [root@ca-sna-pm01 puppet-dashboard]# !1441

  rake RAILS_ENV=production db:migrate

  rake aborted!

  undefined method `source_index' for Gem:Module

 

  (See full trace by running task with --trace)

  [root@ca-sna-pm01 puppet-dashboard]#

 

The following would not be expected to work without the Schematization 
prerequisite above:

 

[root@ca-sna-pm01 puppet-dashboard]# sudo -u puppet-dashboard 
./script/server -e production

./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21:in 
`add_frozen_gem_path': undefined method `source_index\

' for Gem:Module (NoMethodError)

from ./script/../config/boot.rb:50:in `load_initializer'

from ./script/../config/boot.rb:41:in `run'

from ./script/../config/boot.rb:14:in `boot!'

from ./script/../config/boot.rb:113

from ./script/server:2:in `require'

from ./script/server:2

[root@ca-sna-pm01 puppet-dashboard]#

Stuart

On Tuesday, December 17, 2013 2:36:04 PM UTC-8, Matthaus Litteken wrote:

 Stuart, googling the rake error you were getting resulted in the following 
 hit: 


 http://stackoverflow.com/questions/15349869/undefined-method-source-index-for-gemmodule-nomethoderror
  

 Which indicated the version of rubygems is not compatible with the 
 rails application. 

 On Mon, Dec 16, 2013 at 10:36 PM, Stuart Cracraft 
 smcra...@me.comjavascript: 
 wrote: 
  Thanks Ramin. 
  
  A good tip. 
  
  Thank-you. 
  
  On Dec 16, 2013, at 1:49 PM, Ramin K ramin...@badapple.netjavascript: 
 wrote: 
  
  No Ruby Mysql bindings aka the mysql gem. 
  
  
 http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#installing-dependencies
  
  
  Ramin 
  
  On 12/16/2013 12:37 PM, Stuart Cracraft wrote: 
  
  And the installed gems and ruby version. 
  
  [root@ca-sna-pm01 puppet-dashboard]# gem list 
  
  *** LOCAL GEMS *** 
  
  actionmailer (3.2.13) 
  
  actionpack (3.2.13) 
  
  activemodel (3.2.13) 
  
  activerecord (3.2.13) 
  
  activeresource (3.2.13) 
  
  activesupport (3.2.13) 
  
  archive-tar-minitar (0.5.2) 
  
  arel (3.0.2) 
  
  builder (3.0.4) 
  
  bundler (1.3.5) 
  
  cgi_multipart_eof_fix (2.5.0) 
  
  columnize (0.3.6) 
  
  daemons (1.1.9) 
  
  erubis (2.7.0) 
  
  fastthread (1.0.7) 
  
  gem_plugin (0.2.3) 
  
  hike (1.2.2) 
  
  i18n (0.6.1) 
  
  journey (1.0.4) 
  
  json (1.8.0) 
  
  mail (2.5.4) 
  
  mime-types (1.23) 
  
  mongrel (1.1.5) 
  
  multi_json (1.7.4) 
  
  polyglot (0.3.3) 
  
  rack (1.4.5) 
  
  rack-cache (1.2) 
  
  rack-ssl (1.3.3) 
  
  rack-test (0.6.2) 
  
  rails (3.2.13) 
  
  railties (3.2.13) 
  
  rake (10.0.4) 
  
  rdoc (3.12.2) 
  
  rgen (0.6.2) 
  
  ruby-json (1.1.2) 
  
  ruby-shadow (2.2.0) 
  
  ruby_core_source (0.1.5) 
  
  rubygems-update (2.0.3) 
  
  shadow (1.1) 
  
  sprockets (2.2.2) 
  
  thor (0.18.1) 
  
  tilt (1.4.1) 
  
  treetop (1.4.12) 
  
  tzinfo (0.3.37) 
  
  [root@ca-sna-pm01 puppet-dashboard]# ruby --version 
  
  ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] 
  
  [root@ca-sna-pm01 puppet-dashboard]# 
  
  
  
  On Monday, December 16, 2013 11:46:04 AM UTC-8, Stuart Cracraft wrote: 
  
 I followed: 
  
 http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html 
 http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html 
  
 and have reached the point after 
  
puppet dashboard install/configuration 
MySQL server and MySQL client installation/configuration/startup 
  
 at 
  
Preparing Schema 
  
 and now receive the error: 
  
rake RAILS_ENV=production db_migrate 
rake aborted! 
undefined method `source_index' for Gem:Module 
  
See full trace by running task with --trace 
  
 the above was run while connected to /usr/share/puppet-dashboard 
 where there is a project Rakefile which the above uses. 
  
 Any thoughts on the above and how to get past it? 
  
 Thanks so much! 
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups Puppet Users group. 
  To unsubscribe from this group and stop receiving emails from it, send 
  an email to puppet-users...@googlegroups.com javascript:. 
  To view this discussion on the web visit 
  
 https://groups.google.com/d/msgid/puppet-users/ee0f339d-79f4-4622-bd51-3a2872d5aa48%40googlegroups.com.
  

  For more options, visit https://groups.google.com/groups/opt_out. 
  
  
  -- 
  You received this message because you are subscribed to a topic in the 
  Google Groups Puppet Users group. 
  To unsubscribe from this topic, visit 
  https://groups.google.com/d/topic/puppet-users/jXit5cwjA9g/unsubscribe. 
  To unsubscribe from this group and all its topics, send an email to 
  

[Puppet Users] puppet-dashboard status report and bottleneck

2013-12-16 Thread Stuart Cracraft
I followed:

  http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html

and have reached the point after

  puppet dashboard install/configuration
  MySQL server and MySQL client installation/configuration/startup

at

  Preparing Schema

and now receive the error:

  rake RAILS_ENV=production db_migrate
  rake aborted!
  undefined method `source_index' for Gem:Module

  See full trace by running task with --trace

the above was run while connected to /usr/share/puppet-dashboard
where there is a project Rakefile which the above uses.

Any thoughts on the above and how to get past it?

Thanks so much!

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/af1c62c9-dd67-4818-a069-68690fa7308e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] puppet-dashboard status report and bottleneck

2013-12-16 Thread Stuart Cracraft
Thanks Ramin.

A good tip.

Thank-you.

On Dec 16, 2013, at 1:49 PM, Ramin K ramin-l...@badapple.net wrote:

 No Ruby Mysql bindings aka the mysql gem.
 
 http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#installing-dependencies
 
 Ramin
 
 On 12/16/2013 12:37 PM, Stuart Cracraft wrote:
 And the installed gems and ruby version.
 
 [root@ca-sna-pm01 puppet-dashboard]# gem list
 
 *** LOCAL GEMS ***
 
 actionmailer (3.2.13)
 
 actionpack (3.2.13)
 
 activemodel (3.2.13)
 
 activerecord (3.2.13)
 
 activeresource (3.2.13)
 
 activesupport (3.2.13)
 
 archive-tar-minitar (0.5.2)
 
 arel (3.0.2)
 
 builder (3.0.4)
 
 bundler (1.3.5)
 
 cgi_multipart_eof_fix (2.5.0)
 
 columnize (0.3.6)
 
 daemons (1.1.9)
 
 erubis (2.7.0)
 
 fastthread (1.0.7)
 
 gem_plugin (0.2.3)
 
 hike (1.2.2)
 
 i18n (0.6.1)
 
 journey (1.0.4)
 
 json (1.8.0)
 
 mail (2.5.4)
 
 mime-types (1.23)
 
 mongrel (1.1.5)
 
 multi_json (1.7.4)
 
 polyglot (0.3.3)
 
 rack (1.4.5)
 
 rack-cache (1.2)
 
 rack-ssl (1.3.3)
 
 rack-test (0.6.2)
 
 rails (3.2.13)
 
 railties (3.2.13)
 
 rake (10.0.4)
 
 rdoc (3.12.2)
 
 rgen (0.6.2)
 
 ruby-json (1.1.2)
 
 ruby-shadow (2.2.0)
 
 ruby_core_source (0.1.5)
 
 rubygems-update (2.0.3)
 
 shadow (1.1)
 
 sprockets (2.2.2)
 
 thor (0.18.1)
 
 tilt (1.4.1)
 
 treetop (1.4.12)
 
 tzinfo (0.3.37)
 
 [root@ca-sna-pm01 puppet-dashboard]# ruby --version
 
 ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
 
 [root@ca-sna-pm01 puppet-dashboard]#
 
 
 
 On Monday, December 16, 2013 11:46:04 AM UTC-8, Stuart Cracraft wrote:
 
I followed:
 
http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html
http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html
 
and have reached the point after
 
   puppet dashboard install/configuration
   MySQL server and MySQL client installation/configuration/startup
 
at
 
   Preparing Schema
 
and now receive the error:
 
   rake RAILS_ENV=production db_migrate
   rake aborted!
   undefined method `source_index' for Gem:Module
 
   See full trace by running task with --trace
 
the above was run while connected to /usr/share/puppet-dashboard
where there is a project Rakefile which the above uses.
 
Any thoughts on the above and how to get past it?
 
Thanks so much!
 
 --
 You received this message because you are subscribed to the Google
 Groups Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to puppet-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/puppet-users/ee0f339d-79f4-4622-bd51-3a2872d5aa48%40googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
 
 -- 
 You received this message because you are subscribed to a topic in the Google 
 Groups Puppet Users group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/puppet-users/jXit5cwjA9g/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 puppet-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/52AF7562.4050209%40badapple.net.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/7129942C-D5D2-4CAE-8456-B8AEBB27C76C%40me.com.
For more options, visit https://groups.google.com/groups/opt_out.