[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]#
[root@ca-sna-pm01 puppet-dashboard]# !1154
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]# !! --trace
rake RAILS_ENV=production db:migrate --trace
rake aborted!
undefined method `source_index' for Gem:Module
/usr/share/puppet-dashboard/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21:in `add_frozen_gem_path'
/usr/share/puppet-dashboard/config/boot.rb:50:in `load_initializer'
/usr/share/puppet-dashboard/config/boot.rb:41:in `run'
/usr/share/puppet-dashboard/config/boot.rb:14:in `boot!'
/usr/share/puppet-dashboard/config/boot.rb:113
/usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:45:in `gem_original_require'
/usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:45:in `require'
/usr/share/puppet-dashboard/Rakefile:4
/usr/lib64/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/rake_module.rb:25:in `load'
/usr/lib64/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/rake_module.rb:25:in `load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:589:in `raw_load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:89:in `load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:88:in `load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:72:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-10.0.4/bin/rake:33
/usr/bin/rake:19:in `load'
/usr/bin/rake:19
[root@ca-sna-pm01 puppet-dashboard]#
[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]#
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/52AF7562.4050209%40badapple.net.
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]#