Re: [Puppet Users] Installing puppet-dashboard on ubuntu precise

Ashish
Wed, 15 Aug 2012 06:45:20 -0000

Hi,

I just ran into the same problem few days back,

see whether you have installed rack 1.1.0 you can check by "gem list"

and if possible uninstall the existing rack which ever version it is
and then install it with this command gem install rack -v=1.1.0

<snip>
server:/usr/share/puppet-dashboard/script# gem list

*** LOCAL GEMS ***

daemon_controller (1.0.0)
fastthread (1.0.7)
passenger (3.0.15)
rack (1.1.2, 1.1.0)
rake (0.9.2.2)
</snip>

Regards,
System Admin
Ashish Jaiswal

On Wednesday 15 August 2012 10:47:38 AM IST, Sam Morrison
wrote:
> Hi,
>
> I''m trying to install dashboard on precise and I get the below
error.
> I''m using the latest version that is available in the puppet apt
> repository. The package rdoc is installed (it''s just a virtual
package
> pointing to ruby)
>
> Are there some other missing dependencies that the package doesn''t
> specify?
> I don''t know ruby that well so finding it hard to debug.
>
> Also it''s well after 2011-11-01 is that a problem too?
>
> Thanks,
> Sam
>
>
>
> root@admin:/usr/share/puppet-dashboard# 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/config/../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/config/../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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/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/vendor_ruby/1.8/rubygems/source_index.rb:91.
> rake aborted!
> no such file to load -- rdoc/task
> /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
> `gem_original_require''
> /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
`require''
> /usr/share/puppet-dashboard/Rakefile:9
> /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
`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 `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
>
> --
> 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/-/bDFUtw_6gnMJ.
> 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.