Just a stab in the dark, here... but looks like you might need an older
version of rack installed?  The key line might be:

*can't activate rack-1.1.0, already activated rack-1.1.2*



On Tue, Sep 13, 2011 at 8:33 AM, Galed Friedmann
<galed.friedm...@onavo.com>wrote:

> Hi all,
> I'm trying to install Puppet Dashboard 1.2.0 and having some troubles, I'm
> aware that it's probably something wrong with my ruby/rails environment but
> I really can't seem to figure out why this happens..
>
> My environment is:
> ruby 1.8.7
> rake 0.9.2
> gem 1.8.10
>
> When I try to create the DB schema using the rake command I get alot of
> deprecated errors, which is weird because I meet the requirements that are
> specified in the Puppet docs..
> This is what I get when I try to run the command:
>
> root@master:~/puppet-dashboard-1.2.0[0]# 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
> /root/puppet-dashboard-1.2.0/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
> /root/puppet-dashboard-1.2.0/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.
> ** Invoke db:migrate (first_time)
> ** Invoke environment (first_time)
> ** Execute environment
> rake aborted!
> can't activate rack-1.1.0, already activated rack-1.1.2
> /root/puppet-dashboard-1.2.0/config/../vendor/rails/railties/lib/initializer.rb:271:in
> `require_frameworks'
> /root/puppet-dashboard-1.2.0/config/../vendor/rails/railties/lib/initializer.rb:134:in
> `process'
> /root/puppet-dashboard-1.2.0/config/../vendor/rails/railties/lib/initializer.rb:113:in
> `send'
> /root/puppet-dashboard-1.2.0/config/../vendor/rails/railties/lib/initializer.rb:113:in
> `run'
> /root/puppet-dashboard-1.2.0/config/environment.rb:14
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `gem_original_require'
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
> /root/puppet-dashboard-1.2.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in
> `require'
> /root/puppet-dashboard-1.2.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in
> `new_constants_in'
> /root/puppet-dashboard-1.2.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in
> `require'
> /root/puppet-dashboard-1.2.0/vendor/rails/railties/lib/tasks/misc.rake:4
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:205:in `call'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:205:in `execute'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:200:in `each'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:200:in `execute'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:158:in
> `invoke_with_call_chain'
> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:151:in
> `invoke_with_call_chain'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:176:in
> `invoke_prerequisites'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:174:in `each'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:174:in
> `invoke_prerequisites'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:157:in
> `invoke_with_call_chain'
> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:151:in
> `invoke_with_call_chain'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:144:in `invoke'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:112:in
> `invoke_task'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:90:in
> `top_level'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:90:in `each'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:90:in
> `top_level'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:129:in
> `standard_exception_handling'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:84:in
> `top_level'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:62:in `run'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:129:in
> `standard_exception_handling'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/bin/rake:32
> /usr/bin/rake:19:in `load'
> /usr/bin/rake:19
> Tasks: TOP => db:migrate => environment
>
> I'd really appreciate the help!
>
> --
> 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/-/D3F_Ck-hGEYJ.
> 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