Unable to install r10k 1.5.1

90 views
Skip to first unread message

Matthew Kennedy

unread,
Dec 13, 2016, 5:45:57 PM12/13/16
to Puppet Users
I'm running OSS 3.8 using r10k 1.5.1 and ruby 1.9.3p551 (2014-11-13) [x86_64-linux] Brightbox

Error from puppet run.

Error: Could not update: Execution of '/usr/bin/gem install -v 1.5.1 --no-rdoc --no-ri r10k --no-ri --no-rdoc' returned 1: ERROR:  Error installing r10k:
fast_gettext requires Ruby version >= 2.1.0.

It appears that gettext-setup bump a version that changed the dependency for fast_gettext from fast_gettext ~> 1.1.0 to fast_gettext ~> 1.1

This appears to be the commit that changed the dependency https://github.com/puppetlabs/gettext-setup-gem/commit/7c3b2fe7ee09136515dc84a5c9ac704e1ad2effc


Josh Cooper

unread,
Dec 14, 2016, 1:01:18 AM12/14/16
to puppet...@googlegroups.com
On Tue, Dec 13, 2016 at 2:45 PM, Matthew Kennedy <mattke...@gmail.com> wrote:
I'm running OSS 3.8 using r10k 1.5.1 and ruby 1.9.3p551 (2014-11-13) [x86_64-linux] Brightbox

Error from puppet run.

Error: Could not update: Execution of '/usr/bin/gem install -v 1.5.1 --no-rdoc --no-ri r10k --no-ri --no-rdoc' returned 1: ERROR:  Error installing r10k:
fast_gettext requires Ruby version >= 2.1.0.

Various gems are starting to require ruby 2.1 or greater, eg addressable, fast_gettext. In order to continue running with earlier ruby versions, you'll need to pin fast_gettext to an earlier version, e.g. https://github.com/puppetlabs/puppetlabs-apache/commit/03f93e5b0706fa3f47068e33f8ba80c58bab81f8https://github.com/puppetlabs/puppet/commit/c3feeca63161127ffd4f66f590df3e75d9f0a62c


It appears that gettext-setup bump a version that changed the dependency for fast_gettext from fast_gettext ~> 1.1.0 to fast_gettext ~> 1.1

You might want to submit a PR to r10k to restrict fast_gettext to <= 1.1.0 when running on ruby < 2.1.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/3c426e75-bbc1-4b54-bf49-d2b1cb8ddbd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Josh Cooper
Developer, Puppet
Reply all
Reply to author
Forward
0 new messages