Displaying 2 results from an estimated 2 matches for "rdocerror".
2012 Jul 31
1
puppet doc questions
Does puppet doc require a specific version of any gems (such as rdoc or
rake) to operate?
I''m getting some errors when I try to generate my rdoc now.
# puppet doc --output /var/www/test --modulepath
/etc/puppet/environments/test/modules -m rdoc
RDoc::RDocError is deprecated and will be removed in RDoc 4
Could not generate documentation: uninitialized constant
RDoc::RDoc::Generator
I am on puppet 2.7.17, Ubuntu 12.04 (32bit, server).
# gem list
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.15)
actionpack (3.0.15)
activemodel (3.0.15)
activer...
2006 May 18
0
Documentation for the plugins you use
...t=\"_plugins\">#{plugin}</a><br/>\n");
origDir = Dir.pwd
begin
Dir.chdir(relPath)
r = RDoc::RDoc.new
r.document ["--op","doc/rdoc", "-S", "--main", "README"] +
Dir.glob("*")
rescue RDoc::RDocError => e
$stderr.puts e.message
ensure
Dir.chdir origDir
end
end
file_end=<<''FILEEND''
</div>
</div>
</body>
</html>
FILEEND
outfile.write(file_end)
----------------------------
end of document_plugins.rb
-------------...