This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Description
Bundler fails when the app references local development gems (in vendor/gems)
Gemfile:
source 'https://rubygems.org'
ruby '2.2.3'
(...)
gem 'my_gem', path: 'vendor/gems/my_gem'
The error I get is:
The path `/app/user/vendor/gems/my_gem` does not exist.
The problem is due to 'bundle install' running before the Dockerfile gets a chance to copy this directory (because of the ONBUILD command)