Bug 952960

Summary: Get an error "invalid option: --include-dependencies" when installing any gem using puppet
Product: [Fedora] Fedora Reporter: Krishna Raman <kraman>
Component: puppetAssignee: Jeroen van Meeuwen <vanmeeuwen+fedora>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: jose.p.oliveira.oss, k.georgiou, mastahnke, mfisher, moses, tmz, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-17 21:50:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Krishna Raman 2013-04-17 04:33:22 UTC
Description of problem:
Get an error "invalid option: --include-dependencies" when installing any gem using puppet. This is because ruby 2.0 installs dependencies by default and has removed this option.

Version-Release number of selected component (if applicable):
puppet-3.1.1-3.fc19

How reproducible:
Always

Steps to Reproduce:
1. Install a puppet manifest with a gem package
  
Actual results:

Error: /Stage[main]/Openshift_origin::Console/Package[formtastic]/ensure: change from absent to 1.2.4 failed: Could not update: Execution of '/usr/bin/gem install -v 1.2.4 --include-dependencies --no-rdoc --no-ri formtastic' returned 1: ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: --include-dependencies


Expected results:
Gem is installed

Additional info:

Comment 1 Krishna Raman 2013-04-17 21:50:09 UTC

*** This bug has been marked as a duplicate of bug 952955 ***