Total Pageviews

2010-11-30

Puppet 2.6.3 and Ruby

Make sure you install Ruby 1.8.6 (probably i686 at the time of this article). I've found that if you simply
yum --enablerepo=ruby install ruby -y

you will end up with 1.8.5 for x86_64 AND 1.8.6 for i686. The x64 install will be the default though and you will end up with wierd ruby (import no recognized, or something like that) errors. Your ruby version should be the first thing you suspect!

So, do the following, as an ammendment to my previous posting:
yum --enablerepo=ruby install ruby.i686


Run the following to make sure you have 1.8.6 available as the default ruby runtime:
ruby --version

1 comment:

  1. Just a heads up, you need BOTH ruby-libs installed (1.8.5 x64, and 1.8.6 i686). Just keep that in mind too. Dependecy hell here folks!

    ReplyDelete