ruby  -v   1.8.7
rails -v  Rails 2.3.14

rake -v
Warning: Rails rake tasks currently unavailable because we can't find the 
'rails' gem
Could not load rdoc/task. Some rake tasks may not be available without 
rdoc/task.
The load error generated the following message: no such file to load -- 
rdoc/task
rake aborted!
Don't know how to build task 'default'


Il giorno giovedì 14 novembre 2013 12:07:41 UTC+1, alessandro mazzoli ha 
scritto:
>
> Hi All,
> sry for that empty post, my bad.. i'm trying to optimize Puppet Dashboard 
> but i get this:
>
> /opt/puppet/share/puppet-dashboard#     sudo -u puppet-dashboard rake 
> RAILS_ENV=production db:raw:optimize
> Warning: Rails rake tasks currently unavailable because we can't find the 
> 'rails' gem
> Could not load rdoc/task. Some rake tasks may not be available without 
> rdoc/task.
> The load error generated the following message: no such file to load -- 
> rdoc/task
> rake aborted!
> Don't know how to build task 'db:raw:optimize'
>
> (See full trace by running task with --trace)
>
>
>
>
> with --trace ;
>
> sudo -u puppet-dashboard rake RAILS_ENV=production db:raw:optimize 
> --traceWarning: Rails rake tasks currently unavailable because we can't 
> find the 'rails' gem
> Could not load rdoc/task. Some rake tasks may not be available without 
> rdoc/task.
> The load error generated the following message: no such file to load -- 
> rdoc/task
> rake aborted!
> Don't know how to build task 'db:raw:optimize'
> /var/lib/gems/1.8/gems/rake-10.1.0/lib/rake/task_manager.rb:49:in `[]'
> /var/lib/gems/1.8/gems/rake-10.1.0/lib/rake/application.rb:148:in 
> `invoke_task'
> /var/lib/gems/1.8/gems/rake-10.1.0/lib/rake/application.rb:106:in 
> `top_level'
> /var/lib/gems/1.8/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
> /var/lib/gems/1.8/gems/rake-10.1.0/lib/rake/application.rb:106:in 
> `top_level'
> /var/lib/gems/1.8/gems/rake-10.1.0/lib/rake/application.rb:115:in 
> `run_with_threads'
> /var/lib/gems/1.8/gems/rake-10.1.0/lib/rake/application.rb:100:in 
> `top_level'
> /var/lib/gems/1.8/gems/rake-10.1.0/lib/rake/application.rb:78:in `run'
> /var/lib/gems/1.8/gems/rake-10.1.0/lib/rake/application.rb:165:in 
> `standard_exception_handling'
> /var/lib/gems/1.8/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
> /var/lib/gems/1.8/gems/rake-10.1.0/bin/rake:33
> /usr/local/bin/rake:19:in `load'
> /usr/local/bin/rake:19
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9d1c4d23-4a19-499a-a37d-230d1dd9d795%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to