Lutz Bergner
2010-Apr-20 13:42 UTC
[Puppet Users] dashboard: rake install fails (Solaris10)
Hi all, I am trying to install dashboard 1.0.0rc1. Independantly if have manually installed authlogic - gem or not it is throwing the following trace. The problem is the same when I am resetting (rake db:reset) or dropping the database. any ideas? best regards Lutz bash-3.00# rake install (in /opt/puppet-dashboard) dashboard_development already exists can''t activate authlogic (= 2.1.3, runtime) for [], already activated authlogic-2.1.2 for [] /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:230:in `activate'' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:35:in `require'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:156:in `require'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:521:in `new_constants_in'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:156:in `require'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/ gem_dependency.rb:208:in `load'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 307:in `load_gems'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 307:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 307:in `load_gems'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 164:in `process'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 113:in `send'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 113:in `run'' /opt/puppet-dashboard/config/environment.rb:7 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:156:in `require'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:521:in `new_constants_in'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:156:in `require'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/misc.rake:4 /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'' /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'' /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'' /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/local/bin/rake:19:in `load'' /usr/local/bin/rake:19 can''t activate authlogic (= 2.1.3, runtime) for [], already activated authlogic-2.1.2 for [] /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:230:in `activate'' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:35:in `require'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:156:in `require'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:521:in `new_constants_in'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:156:in `require'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/ gem_dependency.rb:208:in `load'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 307:in `load_gems'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 307:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 307:in `load_gems'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 169:in `process'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 113:in `send'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb: 113:in `run'' /opt/puppet-dashboard/config/environment.rb:7 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:156:in `require'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:521:in `new_constants_in'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:156:in `require'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/misc.rake:4 /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'' /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'' /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'' /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/local/bin/rake:19:in `load'' /usr/local/bin/rake:19 Missing these required gems: authlogic You''re running: ruby 1.8.7.174 at /usr/local/bin/ruby rubygems 1.3.6 at /export/home/lbergner/.gem/ruby/1.8, /usr/local/ lib/ruby/gems/1.8 Run `rake gems:install` to install the missing gems. -- 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.
Lutz Bergner
2010-Apr-21 08:43 UTC
[Puppet Users] Re: dashboard: rake install fails (Solaris10)
Meanwhile I have made a little progress when I removed authlogic-2.1.2
from vendor/gems.
But came not too far...
Can someone please point me into the right direction?
Many Thanks in advance
Lutz
Now I get:
bash-3.00# rake install --trace
(in /opt/reductivelabs-puppet-dashboard-v1.0.0rc2-0-gd5918df)
** Invoke install (first_time)
** Invoke copy_config (first_time)
** Invoke config/database.yml (first_time, not_needed)
** Invoke config/database.yml.example (first_time, not_needed)
** Execute copy_config
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:create
dashboard_development already exists
** Invoke db:schema:load (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:schema:load
-- create_table("assignments", {:force=>true})
-> 0.0315s
-- create_table("node_class_memberships", {:force=>true})
-> 0.0202s
-- create_table("node_classes", {:force=>true})
-> 0.0166s
-- create_table("node_group_class_memberships", {:force=>true})
-> 0.0153s
-- create_table("node_group_edges", {:force=>true})
-> 0.0180s
-- create_table("node_group_memberships", {:force=>true})
-> 0.0184s
-- create_table("node_groups", {:force=>true})
-> 0.0189s
-- create_table("nodes", {:force=>true})
-> 0.0170s
-- create_table("parameters", {:force=>true})
-> 0.0166s
-- create_table("reports", {:force=>true})
-> 0.0192s
-- add_index("reports", ["node_id"],
{:name=>"index_reports_on_node_id"})
-> 0.0211s
-- add_index("reports", ["time"],
{:name=>"index_reports_on_time"})
-> 0.0247s
-- create_table("services", {:force=>true})
-> 0.0179s
-- create_table("timeline_events", {:force=>true})
-> 0.0207s
-- create_table("users", {:force=>true})
-> 0.0391s
-- initialize_schema_migrations_table()
-> 0.0006s
-- assume_migrated_upto_version(20100318131825)
-> 0.0010s
** Invoke db:seed (first_time)
** Invoke environment
** Execute db:seed
rake aborted!
undefined method `generate!'' for #<Class:0x9b30264>
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
base.rb:1959:in `method_missing_without_paginate''
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.12/lib/
will_paginate/finder.rb:170:in `method_missing''
/opt/reductivelabs-puppet-dashboard-v1.0.0rc2-0-gd5918df/db/seeds.rb:1
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:145:in
`load_without_new_constant_marking''
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:145:in `load''
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:521:in `new_constants_in''
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:145:in `load''
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/tasks/databases.rake:
215
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
`execute''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
`execute''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
`invoke_with_call_chain''
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in
`invoke_prerequisites''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in
`invoke_prerequisites''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
`invoke_with_call_chain''
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in
`invoke''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
`invoke_task''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`each''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
`top_level''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/local/bin/rake:19:in `load''
/usr/local/bin/rake:19
> --
> 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
athttp://groups.google.com/group/puppet-users?hl=en.
--
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.