Issue #11786 has been updated by Daniele Sluijters.
Actually, I just applied the gist and now I'm stuck with: ``` RDoc::RDocError is deprecated Could not generate documentation: uninitialized constant RDoc::RDoc::Generator ``` This is with rdoc 3.12 and Puppet 2.7. This should also be backported to 2.7 since 2.7 supports Ruby 1.9. ---------------------------------------- Feature #11786: `puppet doc` is not compatible with newer RDoc - thus with Ruby 1.9 https://projects.puppetlabs.com/issues/11786#change-80104 Author: Justin Stoller Status: Accepted Priority: Normal Assignee: Daniel Pittman Category: ruby19 Target version: 3.x Affected Puppet version: development Keywords: ruby1.9.3 Branch: https://github.com/puppetlabs/puppet/pull/377 The `puppet doc` code depends heavily on RDoc to do the documentation generation. Unfortunately, while the Ruby 1.8 series exclusively used RDoc 1.*, the Ruby 1.9 uses 3.* and 4.* versions. These are solidly incompatible with the way we used and integrated with RDoc in the `puppet doc` application. We need to support the `puppet doc` features in a way that also works with newer Ruby. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
