I ran into this too.
''sudo gem install rdoc'' should clear things up for you.
On Thursday, July 19, 2012 11:06:35 PM UTC-5, 刘亚丹 wrote:>
> Hi:
>
> When I start the dashboard server,but all ways failed . Someone
> can help me ?
>
>
>
> #sudo -u puppet-dashboard ./script/server -e production
>
> Missing these required gems:
>
> rack >= 0
>
>
>
> You''re running:
>
> ruby 1.8.7.174 at /usr/bin/ruby1.8
>
> rubygems 1.8.24 at /usr/lib/ruby/gems/1.8, /root/.gem/ruby/1.8
>
>
>
> Run `rake gems:install` to install the missing gems.
>
>
>
>
>
> And now,I EXECUTE “rake gems:install”,
>
> # rake gems:install
>
> rake aborted!
>
> no such file to load -- rdoc/task
>
> /data/puppet-dashboard/Rakefile:9
>
> (See full trace by running task with --trace)
>
>
>
> root@puppet:/data/puppet-dashboard# more /data/puppet-dashboard/Rakefile
>
> # Add your own tasks in files placed in lib/tasks ending in .rake,
>
> # for example lib/tasks/capistrano.rake, and they will automatically be
> available to Rake.
>
>
>
> require(File.join(File.dirname(__FILE__), ''config'',
''boot''))
>
> require ''thread''
>
>
>
> require ''rake''
>
> require ''rake/testtask''
>
> require ''rdoc/task''
>
>
>
> require ''tasks/rails''
>
>
>
>
>
> How can I do?
>
>
>
>
>
>
>
--
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/-/7QAQWBa_0DoJ.
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.