[chef] Re: Installing Ruby from source


Chronological Thread 
  • From: Sascha Bates < >
  • To:
  • Subject: [chef] Re: Installing Ruby from source
  • Date: Mon, 20 May 2013 10:31:55 -0500

Are you looking for this for workstation development or server provisioning? 

If the latter, I always make a package for my OS package manager and then place it in an internal repo.  Generally that's Red Hat and I use Ian Meyer's spec to compile it on a dev server: https://github.com/imeyer/ruby-1.9.3-rpm. If Ubuntu, they actually have a Ruby1.9 package set.

If you are looking for workstation provisioning for OSX, the topic is complex because OSX already ships with a system Ruby, which is why everyone is suggesting a Ruby manager.  If you don't want one, you can look at Seth Chisamore's omnibus-chef-utensils which will build an omnibus version of a ruby-chef-development toolchain: https://github.com/schisamo/omnibus-chef-utensils

Sascha


Jeffrey Jones wrote:

Hello all.

I have decided that one of chef's greatest strengths; and biggest
weaknesses is the community cookbooks (but that is a post for another
time).

Is there any "canonical" cookbook that will install ruby (version of
our choosing) from source (Including the build-essential'ish
packages)? I have found half a dozen ruby cookbooks but none of them
offer the source option (I did actually find one but it is 2 years
old, barely documented and released under the WTFPL)

I am pretty surprised that I could not find one "opscode" blessed
"Install ruby from source" cookbook, seems like a pretty basic
building block.

On a slight return to my first line, the community cookbook page
really REALLY needs some sorting and filtering features.

Cheers

Jeff


Archive powered by MHonArc 2.6.16.

§