Hi , After installing the script and while starting the service i obtain the error message bellow
/etc/init.d/puppet-dashboard start [....] Starting Puppet Dashboard:/usr/bin/ruby: No such file or directory -- /usr/share/puppet-dashboard/script/server (LoadError) [FAIL] Puppet Dashboard is not running ... failed! failed! Any idea please. Thanks Le mercredi 8 août 2012 12:10:37 UTC+2, Pierre Mavro a écrit : > > Hi, > > I've got an issue on installing Puppet Dashboard on Debian wheezy. When I > launch the db:migrate, I've got an error : > >> > rake RAILS_ENV=production db:migrate --trace >> NOTE: Gem.source_index is deprecated, use Specification. It will be >> removed on or after 2011-11-01. >> Gem.source_index called from >> /usr/share/puppet-dashboard/vendor/rails/railties/lib/rails/gem_dependency.rb:21. >> NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It >> will be removed on or after 2011-11-01. >> Gem::SourceIndex#initialize called from >> /usr/share/puppet-dashboard/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> NOTE: Gem::SourceIndex#add_spec is deprecated, use >> Specification.add_spec. It will be removed on or after 2011-11-01. >> Gem::SourceIndex#add_spec called from >> /usr/lib/ruby/1.9.1/rubygems/source_index.rb:91. >> rake aborted! >> cannot load such file -- ftools >> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' >> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' >> /usr/share/puppet-dashboard/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in >> >> `block in require' >> /usr/share/puppet-dashboard/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in >> >> `new_constants_in' >> /usr/share/puppet-dashboard/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in >> >> `require' >> /usr/share/puppet-dashboard/lib/tasks/plugins.rake:2:in `<top (required)>' >> /usr/share/puppet-dashboard/vendor/rails/activesupport/lib/active_support/dependencies.rb:171:in >> >> `load' >> /usr/share/puppet-dashboard/vendor/rails/activesupport/lib/active_support/dependencies.rb:171:in >> >> `block in load_with_new_constant_marking' >> /usr/share/puppet-dashboard/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in >> >> `new_constants_in' >> /usr/share/puppet-dashboard/vendor/rails/activesupport/lib/active_support/dependencies.rb:171:in >> >> `load_with_new_constant_marking' >> /usr/share/puppet-dashboard/vendor/rails/railties/lib/tasks/rails.rb:14:in >> `block in <top (required)>' >> /usr/share/puppet-dashboard/vendor/rails/railties/lib/tasks/rails.rb:14:in >> `each' >> /usr/share/puppet-dashboard/vendor/rails/railties/lib/tasks/rails.rb:14:in >> `<top (required)>' >> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' >> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' >> /usr/share/puppet-dashboard/Rakefile:11:in `<top (required)>' >> /usr/lib/ruby/vendor_ruby/rake/rake_module.rb:25:in `load' >> /usr/lib/ruby/vendor_ruby/rake/rake_module.rb:25:in `load_rakefile' >> /usr/lib/ruby/vendor_ruby/rake/application.rb:501:in `raw_load_rakefile' >> /usr/lib/ruby/vendor_ruby/rake/application.rb:82:in `block in >> load_rakefile' >> /usr/lib/ruby/vendor_ruby/rake/application.rb:133:in >> `standard_exception_handling' >> /usr/lib/ruby/vendor_ruby/rake/application.rb:81:in `load_rakefile' >> /usr/lib/ruby/vendor_ruby/rake/application.rb:65:in `block in run' >> /usr/lib/ruby/vendor_ruby/rake/application.rb:133:in >> `standard_exception_handling' >> /usr/lib/ruby/vendor_ruby/rake/application.rb:63:in `run' >> /usr/bin/rake:27:in `<main>' >> > > It looks like a ruby version problem. On version 1.8 ftools exists, but > not on 1.9.1 (the standard on Debian wheezy). Does someone has an idea ? > I've searched on the web, but didn't find something relevant. > > Thanks in advance > -- 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/782c3a20-6d8e-46fa-a0b9-b02ecbb4d607%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.