Re: can we install ruby gems in existing cf stacks (cflinuxfs2) without recreate stack


Lingesh Mouleeshwaran
 

Hi Dan ,

yes I have installed the require gem via *bundle install* to specify the
path of vendor staging directories which is available in below paths

/var/vcap/data/packages/dea_next/* /vendor/cache
/var/vcap/data/packages/warden/*/vendor/cache

using buildpack Gemfile.

Still I am not seeing these require gem is available in staging container.
So staging container during compile phase.


Regards
Lingesh M

On Mon, May 23, 2016 at 5:35 PM, Daniel Mikusa <dmikusa(a)pivotal.io> wrote:

On Mon, May 23, 2016 at 3:41 AM, Lingesh Mouleeshwaran <
lingeshmouleeshwaran(a)gmail.com> wrote:

Thanks DHR and Sunil ,

@ DHR , I have followed your way to install the gem on staging directory
, but it doesn't help. is this same way followed by existing cloudfoundry
java buildpack ??
This is the way you should be doing it. What about this doesn't help /
work for you?

Dan





@ Sunil ,

Please could you elaborate more on your approach , I coudn't get your
suggestion.


Regards
Lingesh M

On Fri, May 20, 2016 at 7:56 AM, Sunil Babu <cloudgrp.assist(a)gmail.com>
wrote:

Hi

Enable cloning with repo an make auto update enabled this there is no
need to install


On Thursday, May 19, 2016, Lingesh Mouleeshwaran <
lingeshmouleeshwaran(a)gmail.com> wrote:

Hi Cloudfoundry ,

Is there any simple way, we can update or install new libraries in
existing cf stacks (cflinuxf2) without creating new custom stacks ??

*Example :* Our modified java buildpack not running on existing stacks
because of few of the ruby gems are missing in the file system. so we would
require to install few ruby gem and use the modified java buildpack.

Share your thoughts and suggestions.

Regards
Lingesh M

--
Thanks & Regards
Sunil Babu K C
+91-81970-35608

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.