I am trying to installed puppet and facing this error:
# gem install puppet --version 2.7.11
Successfully installed puppet-2.7.11
RDoc::Parser::Ruby failure around line 224 of
lib/puppet/parser/scope.rb
Before reporting this, could you check that the file you're documenting
has proper syntax:
/usr/bin/ruby -c lib/puppet/parser/scope.rb
RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.
The internal error was:
(SystemStackError) stack level too deep
ERROR: While executing gem ... (SystemStackError)
stack level too deep