From a86927d2a96b92198f5cdd810881731f724f6c1f Mon Sep 17 00:00:00 2001 From: Evan Cloutier <9866928+evancloutier@users.noreply.github.com> Date: Thu, 21 Nov 2019 18:58:23 -0500 Subject: [PATCH] Update Ruby example to specify bundler path --- examples.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples.md b/examples.md index b05e531..db5a065 100644 --- a/examples.md +++ b/examples.md @@ -219,6 +219,14 @@ Replace `~/.cache/pip` with the correct `path` if not using Ubuntu. restore-keys: | ${{ runner.os }}-gem- ``` +When dependencies are installed later in the workflow, we must specify the same path for the bundler. + +```yaml +- name: Bundle install + run: | + bundle config path vendor/bundle + bundle install --jobs 4 --retry 3 +``` ## Rust - Cargo