From 3d01b4eb53c7cbc3df0c28cb47cc45754127fe57 Mon Sep 17 00:00:00 2001 From: Evan Cloutier <9866928+evancloutier@users.noreply.github.com> Date: Sat, 23 Nov 2019 14:13:50 -0500 Subject: [PATCH] Update Ruby example in documentation to specify bundler path (#113) * Update Ruby example to specify bundler path * Fix spacing --- examples.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples.md b/examples.md index b05e531..716f2bb 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