Issue #16353 has been updated by Nan Liu.

Branch set to https://github.com/puppetlabs/puppet/pull/1133


----------------------------------------
Bug #16353: gem provider should use --no-ri --no-rdoc consistently.
https://projects.puppetlabs.com/issues/16353#change-70896

Author: Nan Liu
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: https://github.com/puppetlabs/puppet/pull/1133


Currently the gem provider only use the --no-ri and --no-rdoc flag for remote 
gems. gems installed from source doesn't honor this setting:

    package {'httpclient':
      ensure   => present,
      source   => '/opt/httpclient',
      provider => gem
    }

The source attribute cause --no-ri and --no-rdoc to be omitted:

    Before reporting this, could you check that the file
    you're documenting compiles cleanly--RDoc is not a
    full Ruby parser, and gets confused easily if fed
    invalid programs.
    The internal error was:
    ERROR:  While executing gem ... (NoMethodError)
    undefined method `name' for #<RubyToken::TkLPAREN:0x4911a00>
    INFO:  `gem install -y` is now default and will be removed
    INFO:  use --ignore-dependencies to install only the gems you list

A pull request will be submitted shortly.


-- 
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.

Reply via email to