Re: can we install ruby gems in existing cf stacks (cflinuxfs2) without recreate stack
I think you'd be better to get the gems to be deployed inside the buildpack zip & used by your buildpack bin scripts from when the zip is unpacked.toggle quoted message Show quoted text
Maybe you could vendor the gems as part of your 'bundle install' command so that they appear inside your staging directory
$ bundle install --path staging/vendor/bundle
This should ensure the go into the buildpack zip.
And then set the BUNDLE_PATH variable to the same relative directory in the bin/detect, compile and/or release scripts.
More info about bundler here: http://bundler.io/v1.3/bundle_install.html
On 19 May 2016, at 18:36, Lingesh Mouleeshwaran <lingeshmouleeshwaran(a)gmail.com> wrote: