- From: Joshua Timberman <
>
- To: "
" <
>
- Subject: [chef] Re: Installing Ruby from source
- Date: Tue, 21 May 2013 06:02:17 +0000
- Accept-language: en-US
Ohai,
On May 20, 2013, at 2:41 AM, Jeffrey Jones
<
>
wrote:
>
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.
Generally speaking, we (Opscode) recommend building a native package for the
platform of the desired Ruby version, and use Chef to install that from a
local repository. In this age of API driven virtual machines/compute on
demand, adding 5 minutes to build Ruby on every single instance borders on
"unbearable."
Further, with the omnibus project[0], we do recommend using it for making
"full stack" installers for applications, including Ruby or other runtimes
required. Generally that is the kind of build that happens in CI such as
Jenkins pipelines.
That said, personally, I use Fletcher Nichol's rbenv cookbook for managing
Ruby on my OS X systems.
Cheers,
Joshua
[0]:
http://rubygems.org/gems/omnibus
- [chef] Re: Re: Installing Ruby from source, (continued)
Archive powered by MHonArc 2.6.16.