The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
mcollective `rake doc` fails on rdoc.gem > v2.3.0
|Assignee:||R.I. Pienaar||% Done:|
|Keywords:||marionette, collective, rdoc, darkfish||Affected mCollective version:|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.
[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: - RUBYGEMS VERSION: 1.3.7 - 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 - EXECUTABLE DIRECTORY: /usr/bin - RUBYGEMS PLATFORMS: - ruby - x86_64-linux - GEM PATHS: - /usr/lib64/ruby/gems/1.9.1 - /root/.gem/ruby/1.9.1 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/ [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.
#3 Updated by Nikhil M. over 2 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 vm200-005.sc01.xyz.com 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 over 2 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.