On Fri, Jan 27, 2012 at 7:49 AM, Antidot SAS <antidot...@gmail.com> wrote: > Hi everyone, > > > I am trying to setup puppet-dashboard when trying to use the "rake > RAILS_ENV=production db:migrate" I have the following error: > # rake RAILS_ENV=production db:migrate > 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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_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/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. > rake aborted! > Could not find rack (~> 1.1.0) amongst [actionmailer-3.2.0, > actionpack-3.2.0, activemodel-3.0.10, activerecord-3.0.10, > activeresource-3.2.0, activesupport-3.0.10, arel-3.0.0, arel-2.0.10, > builder-3.0.0, builder-2.1.2, bundler-1.0.21, daemon_controller-0.2.6, > erubis-2.7.0, facter-1.6.5, facter-1.6.4, fastthread-1.0.7, hike-1.2.1, > i18n-0.6.0, i18n-0.5.0, journey-1.0.0, json-1.6.5, mail-2.4.1, > mime-types-1.17.2, multi_json-1.0.4, mysql-2.8.1, mysql2-0.3.11, > passenger-3.0.11, polyglot-0.3.3, puppet-2.7.9, puppet-module-0.3.4, > puppet-profiler-0.0.2, rack-1.4.1, rack-cache-1.1, rack-ssl-1.3.2, > rack-test-0.6.1, rails-3.2.0, railties-3.2.0, rake-0.9.2.2, rdoc-3.12, > rdoc-2.5.11, rdoc-data-2.5.3, rubygems-update-1.8.15, sprockets-2.1.2, > sqlite3-1.3.5, sqlite3-ruby-1.3.3, thor-0.14.6, tilt-1.3.3, treetop-1.4.10, > tzinfo-0.3.31] > > Tasks: TOP => db:migrate => environment > (See full trace by running task with --trace) > > > here the package I have installed: > # apt-cache search -f puppet-dashboard > Package: puppet-dashboard > Version: 1.2.5-1puppetlabs1 > Architecture: all > Maintainer: James Turnbull <ja...@puppetlabs.com> > Installed-Size: 100448 > Pre-Depends: debconf > Depends: ruby, ruby1.8 (>= 1.8.7), rake (>= 0.8.3), dbconfig-common, > libdbd-mysql-ruby, mysql-client, rubygems, libhttpclient-ruby1.8 > Recommends: libapache2-mod-passenger > Suggests: mysql-server > Section: web > Priority: extra > Homepage: http://github.com/puppetlabs/puppet-dashboard > Description: Dashboard for Puppet > The Puppet Dashboard is a web application for managing the Puppet > configuration > management tool. > Filename: > pool/squeeze/main/p/puppet-dashboard/puppet-dashboard_1.2.5-1puppetlabs1_all.deb > MD5Sum: 266767a74bbfd49634288a063b936e39 > > SHA1: > 2cf24d97045f2c2041fca5bef1c618154eb619d9 > > SHA256: > 9c707818409159fb51011784087e2b8f69860761b7a6bff8a4425e4e13a9c492 > > Size: 5609094 > >
Could not find rack (~> 1.1.0) This means you need rack version 1.1.x. That's rubygems way of saying keep the first two numbers the same. It's not my favorite, but it's true. Rack has multiple versions and the API changes between 1.1, 1.2, 1.4, etc. So, it pretty much makes sense. > Apparently It is complaining about the version of rack but the one setup > seemes superior than the one needed (1.1.0) > > > But if I force the gem installation of rack 1.1.2, it works... Weird? > > > Regards, > JM > > -- > 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. -- 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.