Hi

Yesterday I had the same problem. I solved it using this link:

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

Install the RubyGems package system with the script provided.

Hope it helps.

Best regards
On Aug 8, 2012 5:59 PM, "Deimos Fr" <deimo...@gmail.com> wrote:

> 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 view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/UjclRqRVMCcJ.
> 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.
>

-- 
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.

Reply via email to