On Sep 22, 2014 7:19 PM, "treydock" <treyd...@gmail.com> wrote:

> Error: /Stage[main]/R10k::Install/Package[r10k]/ensure: change from
["1.2.1"] to 1.3.4 failed: Could not update: Execution of '/usr/bin/gem
install -v 1.3.4 --no-rdoc --no-ri r10k ' returned 1: ERROR:  Can't use
--version w/ multiple gems. Use name:ver instead.

I have a hunch that the extra space at the end of the quoted command
appears to gem as another parameter, albeit just a null string.

I'm trapped under a sleeping baby but I would test with an exec(2)-like
function/method in Ruby or Python (where the arguments are passed as an
array of strings instead of a single string) and see if gem barfs if there
are extra 0-length items.

If so, then I'd check gem versions, compare changelogs from both RPM (rpm
--changelog packagename) and upstream gem sources.

HTH
Wil

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAMmm3r6Nc9qd1p4jtLxzPVcZHfOEKvQE2j-X3zYEi5tKwCY6tA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to