The Puppet Labs Issue Tracker has Moved:

Bug #11251

mcollective `rake doc` fails on rdoc.gem > v2.3.0

Added by Nikhil M. over 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:12/07/2011
Priority:NormalDue date:
Assignee:R.I. Pienaar% Done:


Target version:1.3.x
Keywords:marionette, collective, rdoc, darkfish Affected mCollective version:

We've Moved!

Ticket tracking is now hosted in JIRA:


[root@vm200-005 marionette-collective]# rake19 doc
(in /root/marionette-collective)
rm -r doc
invalid options: --line-numbers, --inline-source
(invalid options are ignored)
Parsing sources...
100% [52/52]  mco                                                               
Generating Darkfish...
rake aborted!
could not find template "html"  

[root@vm200-005 marionette-collective]# gem19 env
RubyGems Environment:
- RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [x86_64-linux]
- INSTALLATION DIRECTORY: /usr/lib64/ruby/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby19
- ruby
- x86_64-linux
- /usr/lib64/ruby/gems/1.9.1
- /root/.gem/ruby/1.9.1
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000

[root@vm200-005 marionette-collective]# gem19 list
*** LOCAL GEMS ***
minitest (1.6.0)
rake (0.8.7)
rdoc (2.5.8)

In the Rakefile, there is a rdoc.template “html” line.
The html template is not present in recent versions of rdoc.
If this is replaced with the “darkfish” template, things work.


#1 Updated by Anonymous over 3 years ago

  • Category set to ruby19
  • Status changed from Unreviewed to Investigating
  • Assignee set to R.I. Pienaar

R.I., can you take a look and confirm if this is a problem, and how we should resolve it?

#2 Updated by Anonymous over 3 years ago

  • Project changed from Puppet to MCollective
  • Category deleted (ruby19)

#3 Updated by Nikhil M. over 3 years ago

Sorry for not mentioning this in the issue report, but this patch works perfectly for me.

Also, my platform details are —

[root@vm200-005 ~]# uname -a
Linux 2.6.32-042stab039.11 #1 SMP Thu Nov 10 18:16:06 MSK 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@vm200-005 ~]# cat /etc/redhat-release 
CentOS Linux release 6.0 (Final)

#4 Updated by R.I. Pienaar about 3 years ago

  • Category set to Packaging
  • Status changed from Investigating to Accepted
  • Target version set to 1.3.x

The darkfish theme is new, so to avoid messing around users with older rubies it seems the best is just to remove the rdoc.template = ‘html’ line from the Rakefile the versions I tested seem to do the right thing by default.

#5 Updated by R.I. Pienaar about 3 years ago

Nikhil, you state your platform is CentOS 6.0 but that does not ship with ruby 1.9x, so presumably your platform is actually something managed with rvm right? Your patch would actually fail on your platform as ruby 1.8.7 did not include that theme

#6 Updated by R.I. Pienaar about 3 years ago

  • Status changed from Accepted to Closed

1 files changed, 0 insertions(+), 1 deletions(–)

#7 Updated by Nikhil M. about 3 years ago

Thanks R. I., my CentOS actually pulls ruby19 from rbel6, which is why the different versions.

R.I. Pienaar wrote:

1 files changed, 0 insertions(+), 1 deletions(–)

Also available in: Atom PDF