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

Sam Morrison
Thu, 16 Aug 2012 23:58:06 -0000

Hi Daniele,

Thanks a lot for the info, I''ll follow the bug and give your workaround
a
go.

Cheers,
Sam


On Thursday, 16 August 2012 23:09:20 UTC+10, Daniele Sluijters
wrote:
>
> Hi,
>
> The issue is probably that the Puppet package is requiring librack-ruby.
> In the case of Debian Squeeze this neatly resolves to 1.1.0 and there are
> no issues.
>
> Dashboard should be fixed to work with more recent versions of Rack though
> as Wheezy ships with 1.4.1 so the issue will be more prominent.
>
> What you can try for now is to uninstall the Ubuntu package and grab the
> Debian librack-ruby and install that through dpkg. It''s probably
going to
> want to upgrade librack-ruby the next time you run apt-get upgrade so you
> might have to hold the package if you go down this road.
>
> The issues are caused by endor/rails/railties/lib/rails/gem_depedency.rb
> and vendor_gem_source_index.rb that use deprecated functions. The fix
> should be fairly simple but someone actually has to get up and do it.
>
> The issue is being tracked in http://projects.puppetlabs.com/issues/9296so
I suggest you update that ticket.
>
> --
> Daniele Sluijters
>
> On Wednesday, 15 August 2012 07:17:38 UTC+2, 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