Warning: don't use bosh-init with Ruby 1.9.3.


Dmitriy Kalinin
 

Yes it currently uses outside ruby to generate ERB templates for the jobs.
Not all CPIs include a ruby so we cannot rely on included one.

On Wed, Sep 23, 2015 at 9:51 AM, Dr Nic Williams <drnicwilliams(a)gmail.com>
wrote:

To confirm: bosh-init has a dependency outside of its own binary and
dependencies inside cpi releases?




On Wed, Sep 23, 2015 at 9:45 AM, Lomov Alexander <
alexander.lomov(a)altoros.com> wrote:

Hi, all.

I think that you should know this problem: you shouldn’t run bosh-init
with Ruby 1.9.3 installed on your VM. The problem is that bosh-init uses
host ruby to render era templates from bosh releases that are designed to
run with Ruby 2.0+.

I have created a PR with detailed description for this issue:
https://github.com/cloudfoundry/bosh-init/pull/46

Best wishes,
Alex L.


Dr Nic Williams
 

To confirm: bosh-init has a dependency outside of its own binary and dependencies inside cpi releases?

On Wed, Sep 23, 2015 at 9:45 AM, Lomov Alexander
<alexander.lomov(a)altoros.com> wrote:

Hi, all.
I think that you should know this problem: you shouldn’t run bosh-init with Ruby 1.9.3 installed on your VM. The problem is that bosh-init uses host ruby to render era templates from bosh releases that are designed to run with Ruby 2.0+.
I have created a PR with detailed description for this issue: https://github.com/cloudfoundry/bosh-init/pull/46
Best wishes,
Alex L.


Alexander Lomov
 

Hi, all.

I think that you should know this problem: you shouldn’t run bosh-init with Ruby 1.9.3 installed on your VM. The problem is that bosh-init uses host ruby to render era templates from bosh releases that are designed to run with Ruby 2.0+.

I have created a PR with detailed description for this issue: https://github.com/cloudfoundry/bosh-init/pull/46

Best wishes,
Alex L.