[Pkg-puppet-devel] ruby dependency/conflict error
KissT
kisst at mtdm.tv
Thu Mar 13 15:38:51 UTC 2014
Hi Puppet / Facter Maintainer(s),
I just run into an error which in my opinion package conflict, on the
dependency list there is a ruby with version 1.8 which is supported by
the puppet, but in case the 1.9 version installed on the system it's run
into errors.
Due to I'm not native English, I will explain it with some paste.
kisst at host:~# puppet -V && facter -v && dpkg -l | grep -E "^ii\ \
ruby[0-9]\.[0-9]" && facter | grep lsbdistdescription
2.7.23
1.6.10
ii ruby1.8 1.8.7.358-7.1+deb7u1
amd64 Interpreter of object-oriented scripting language Ruby 1.8
ii ruby1.9.1 1.9.3.194-8.1+deb7u2
amd64 Interpreter of object-oriented scripting language Ruby
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv
will be deprecated in the future, use String#encode instead.
lsbdistdescription => Debian GNU/Linux 7.3 (wheezy)
After remove the ruby1.9
kisst at host:~$ puppet -V && facter -v && dpkg -l | grep -E "^ii\ \
ruby[0-9]\.[0-9]" && facter | grep lsbdistdescription
2.7.23
1.6.10
ii ruby1.8 1.8.7.358-7.1+deb7u1
amd64 Interpreter of object-oriented scripting language Ruby 1.8
lsbdistdescription => Debian GNU/Linux 7.3 (wheezy)
The error on the first is what's telling me there is something wrong. So
I made my research searching for this.
"/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv
will be deprecated in the future, use String#encode instead."
There is one ticket related to this in the puppet tracking system.
http://projects.puppetlabs.com/issues/20587
Following the respond link it's clear that this two version is incompatible.
http://docs.puppetlabs.com/guides/platforms.html#ruby-versions
Which could mean that there is more errors, in the app, this is just a
warning, but there could be critical errors as well.
Not sure how this could be handled nicely but so action required is clear.
Thanks
KissT
More information about the Pkg-puppet-devel
mailing list