Since anynines assembles your application's gems during the buildpack's staging phase you have to ensure that it can access all referenced gems within your Gemfile. If your application uses gems from private repositories you can assemble the package prior to deploying your application using the bundle package command:
$> bundle package --all
Updating files in vendor/cache
$> cf push
The --all argument ensures that gems from git repositories are added to your bundle. The package command will create a vendor directory within your application's root directory. This directory will be uploaded along with your application deployment and the buildpack will use the vendor folder to install the needed gems.
Please sign in to leave a comment.