puppet doc questions

73 views
Skip to first unread message

llo...@oreillyauto.com

unread,
Jul 31, 2012, 2:57:12 PM7/31/12
to puppet...@googlegroups.com
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)
activerecord (3.0.15)
activeresource (3.0.15)
activesupport (3.0.15)
ancestry (1.2.5)
arel (2.0.10)
audited (3.0.0.rc1)
audited-activerecord (3.0.0.rc1)
builder (2.1.2)
diff-lcs (1.1.3)
erubis (2.6.6)
has_many_polymorphs (3.0.0.beta1)
hiera (0.3.0)
i18n (0.5.0)
jquery-rails (1.0.19)
json (1.7.3)
mail (2.2.19)
metaclass (0.0.1)
mime-types (1.19)
mocha (0.12.1)
mysql (2.8.1)
net-ldap (0.3.1)
polyglot (0.3.3)
puppetlabs_spec_helper (0.2.0)
rack (1.2.5, 1.1.0)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (3.0.15)
railties (3.0.15)
rake (0.9.2.2)
rdoc (3.12)
rdoc-data (3.12)
rest-client (1.6.7)
rspec (2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.2)
rspec-mocks (2.11.1)
rspec-puppet (0.1.3)
ruby2ruby (1.3.1)
ruby_parser (2.3.1)
safemode (1.0.1)
scoped_search (2.3.7)
sexp_processor (3.2.0)
thor (0.14.6)
treetop (1.4.10)
tzinfo (0.3.33)
uuidtools (2.1.3, 2.1.2)
will_paginate (3.0.3)

llo...@oreillyauto.com

unread,
Jul 31, 2012, 3:49:15 PM7/31/12
to puppet...@googlegroups.com
As an update, I did find http://projects.puppetlabs.com/issues/11786 which indicates that rdoc 1.x is needed, and that rdoc 2.x and 3.x will not work.

However, the oldest gem available is 2.0...

Any recommendations?
Reply all
Reply to author
Forward
0 new messages