Re: bosh-init install question
Hi Lynn,toggle quoted message Show quoted text
The ruby dependencies are necessary for bosh-init, because it renders manifest templates with ruby. See https://github.com/cloudfoundry/bosh-init/blob/master/templatescompiler/erbrenderer/template_evaluation_context_rb.go for all its beauty.
From: Dr Nic Williams <drnicwilliams(a)gmail.com>
Reply-To: "Discussions about the Cloud Foundry BOSH project." <cf-bosh(a)lists.cloudfoundry.org>
Date: Friday, 17 March 2017 at 06:18
To: "Discussions about the Cloud Foundry BOSH project." <cf-bosh(a)lists.cloudfoundry.org>
Subject: [cf-bosh] Re: bosh-init install question
bosh-init (or the new bosh2 cli's create-env command) will download some yet-to-be-compiled modules called CPIs. Some CPIs are written in Ruby - the ruby itself is also downloaded automatically and installed in a special private place; but Ruby has some system dependencies to work. Instead of also downloading those as well, the CPI module will just require that you have them pre installed.
On Thu, Mar 16, 2017 at 8:34 PM -0700, "Lynn Lin" <lynn.lin(a)emc.com<mailto:lynn.lin(a)emc.com>> wrote:
I am on the page http://bosh.io/docs/install-bosh-init.html and am wondering what's purpose for this section ? Is this for ruby2?
Depending on your platform install following packages:
$ sudo apt-get install -y build-essential zlibc zlib1g-dev ruby ruby-dev openssl libxslt-dev libxml2-dev libssl-dev libreadline6 libreadline6-dev libyaml-dev libsqlite3-dev sqlite3