[chef] Re: Re: Re: Re: Re: Rails 3 and ruby 1.9.2 application with chef


Chronological Thread 
  • From: AJ Christensen < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Rails 3 and ruby 1.9.2 application with chef
  • Date: Wed, 25 Apr 2012 13:55:19 +1200

Yo,

On 25 April 2012 13:49, Wes Morgan 
< >
 wrote:
>
> On Apr 24, 2012, at 7:43 PM, AJ Christensen wrote:
>
>> If you use omnibus to install chef, it's already being installed into
>> a ruby 1.9x embedded container.
>>
>> I'd recommend using the ruby cookbook, and setting the attributes so
>> that it installs ruby1.9.x -- it'll end up in your standard system
>> location; then any other service you can deploy will use that ruby due
>> to it being in $PATH.
>
> Doesn't the ruby cookbook only know how to install the distro packaged Ruby 
> versions? On Ubuntu, that means Ruby 1.9.1, which won't work with Rails 3. 
> Ruby 1.9.2+ or Ruby 1.8.7 is required (so I got that slightly wrong before).
>

> I ended up using the rbenv cookbook to install 1.9.3.

It would be my complete and total recommendation to seek not the
installation of compilers to build huge Language packages.

You can easily manage this process out of band (once or repeatedly)
and publish them to all nodes through very well suited package
distribution channels.

--AJ

>
>>
>> At Heavy Water, we have our continuous delivery platform build a Ruby
>> artefact for the architectures being used in the deployment with a
>> custom cookbook (instead of the opscode Ruby) to deploy that.
>> Eventually we may try to work in compatibility there.
>>
>> We've had a little trouble with this route when you need to install
>> gems with gem_package into either VM, but it's easily worked around
>> with the gem_binary parameter.
>>
>> Cheers,
>>
>> --AJ
>>
>
> ** snip **
>



Archive powered by MHonArc 2.6.16.

§