RE: Ruby for Chef


#1

Ooooppssss… forgot the link…


y-1-9-3-from-source-with-libyaml-on-centos/

Packages required to compile Ruby…

yum -y install make gcc openssl-devel zlib-devel gcc gcc-c++ make
autoconf readline-devel curl-devel expat-devel gettext-devel
ncurses-devel sqlite3-devel mysql-devel httpd-devel wget which

And yaml-0.1.4.tar.gz

From: Van Fossan,Randy
Sent: Wednesday, February 22, 2012 9:59 AM
To: chef@lists.opscode.com
Subject: Ruby for Chef

Two questions for my fellow chef’s…

  1.    Has anyone used Ruby 1.9.3-pxxx ?   We have a requirement of
    

at least 1.9.2-p290.

  1.  Also, in compiling ruby from source, I find a lot of conflicting
    

information on the web. What do I actually need to support Chef Server
and Chef clients?

Currently, I am running a mix of SuSe 10, 11 and CentOS 5.x, 6.x and
some RedHat 5.x. I am concentrating on CentOS 5.x and 6.x. I found
the following on web and am trying it. However, I don’t want to
discover any gotchas’ down the road.

I have tried the RBEL repo version of Ruby-1.9.2-p290 RPM but it doesn’t
install correctly. I have compiled Ruby-1.9.2-p290 from source several
times and it seems to work, but, I’ve been bitten before.

Anyone have any recommendations. Remember, I have to run at least
1.9.2-p290.