The error comes from system ruby.
Have you installed the AIO package?

Maybe it is facter.
Please see whether you can run the facter command successfully.

> On 21 Jan 2017, at 02:49, Gustavo S. L. <[email protected]> wrote:
> 
> When I execute puppet in a container with centos 7 I get this:
> 
> /usr/share/rubygems/rubygems/path_support.rb:68:in `path=': undefined method 
> `+' for nil:NilClass (NoMethodError)
>       from /usr/share/rubygems/rubygems/path_support.rb:30:in `initialize'
>       from /usr/share/rubygems/rubygems.rb:357:in `new'
>       from /usr/share/rubygems/rubygems.rb:357:in `paths'
>       from /usr/share/rubygems/rubygems.rb:379:in `path'
>       from /usr/share/rubygems/rubygems/specification.rb:794:in `dirs'
>       from /usr/share/rubygems/rubygems/specification.rb:658:in `each_normal'
>       from /usr/share/rubygems/rubygems/specification.rb:669:in `_all'
>       from /usr/share/rubygems/rubygems/specification.rb:822:in `each'
>       from /usr/share/rubygems/rubygems/specification.rb:864:in `find'
>       from /usr/share/rubygems/rubygems/specification.rb:864:in 
> `find_inactive_by_path'
>       from /usr/share/rubygems/rubygems.rb:175:in `try_activate'
>       from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:132:in 
> `rescue in require'
>       from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:144:in 
> `require'
>       from <internal:abrt_prelude>:2:in `<compiled>'
> 
> What's happening? How can I solve it? Thank's
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/CAOO4BW1hEhiryh3EDcf%2BD8ZfBwCP7aDaJknyHVZZKj%3DvL92H9Q%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/192B6B1A-C75F-4903-AA74-0F67B33A0E3E%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to