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

Handle local gems from 'vendor/gems' #6

@rody

Description

@rody

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions