Jira (PUP-9701) Gem provider uses --no-rdoc

2 views
Skip to first unread message

Vivek S (JIRA)

unread,
May 14, 2019, 6:33:03 AM5/14/19
to puppe...@googlegroups.com
Vivek S created an issue
 
Puppet / Bug PUP-9701
Gem provider uses --no-rdoc
Issue Type: Bug Bug
Assignee: Unassigned
Components: Types and Providers
Created: 2019/05/14 3:32 AM
Priority: Normal Normal
Reporter: Vivek S

Puppet Version: 4.7.0
Puppet Server Version:
OS Name/Version: Ubuntu trusty

Installed ruby 2.6 and trying to install ruby gems. gem provider always executes with flag --no-rdoc which is not supported in latest ruby gem. 

 

[23.253.241.250] out: Debug: Executing '/usr/bin/gem install -v 6.4.2 --no-rdoc --no-ri puppet'
[23.253.241.250] out: Error: Could not update: Execution of '/usr/bin/gem install -v 6.4.2 --no-rdoc --no-ri puppet' returned 1: ERROR: While executing gem ... (OptionParser::InvalidOption)
[23.253.241.250] out: invalid option: --no-rdoc

Desired Behavior:

Gem should be installed without throwing invalid option error

Actual Behavior:

 

Throws the following error:

[23.253.241.250] out: Debug: Executing '/usr/bin/gem install -v 6.4.2 --no-rdoc --no-ri puppet'
[23.253.241.250] out: Error: Could not update: Execution of '/usr/bin/gem install -v 6.4.2 --no-rdoc --no-ri puppet' returned 1: ERROR: While executing gem ... (OptionParser::InvalidOption)
[23.253.241.250] out: invalid option: --no-rdoc

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages