Issue #19741 has been reported by Patrick Hemmer.

----------------------------------------
Bug #19741: gem package provider breaks with 'rubygems-update' 2.0.3
https://projects.puppetlabs.com/issues/19741

Author: Patrick Hemmer
Status: Unreviewed
Priority: High
Assignee: 
Category: 
Target version: 
Affected Puppet version: 3.1.0
Keywords: 
Branch: 


When the `rubygems-update` version 2.0.3 gem is installed, the gem provider for 
package resources fails with invalid arguments.  
It seems version 2.0.3 dropped the `--include-dependencies` argument which 
puppet passes, causing an error.

I downgraded to `rubygems-update 2.0.0` to resolve the issue. Not sure which 
specific version introduced the change.

<pre>
Error: Execution of '/usr/local/bin/gem install --include-dependencies 
--no-rdoc --no-ri bundle' returned 1: ERROR:  While executing gem ... 
(OptionParser::InvalidOption)
    invalid option: --include-dependencies

Error: /Stage[main]/Ruby/Package[bundle]/ensure: change from absent to present 
failed: Execution of '/usr/local/bin/gem install --include-dependencies 
--no-rdoc --no-ri bundle' returned 1: ERROR:  While executing gem ... 
(OptionParser::InvalidOption)
    invalid option: --include-dependencies
</pre>


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to