Commit 6c115329 authored by Mike Coutermarsh's avatar Mike Coutermarsh Committed by Josh Gross
Browse files

Update Ruby docs. "Gem" -> "Bundler" (#150)

* Use "Bundler" which is the package manager

"Gem" isn't wrong, but not typically what a Ruby developer would think of.

* Update links

* Update links
parent c33bff8d
Loading
Loading
Loading
Loading
+1 −1
Changes for README.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ See [Examples](examples.md) for a list of `actions/cache` implementations for us
- [Node - Yarn](./examples.md#node---yarn)
- [PHP - Composer](./examples.md#php---composer)
- [Python - pip](./examples.md#python---pip)
- [Ruby - Gem](./examples.md#ruby---gem)
- [Ruby - Bundler](./examples.md#ruby---bundler)
- [Rust - Cargo](./examples.md#rust---cargo)
- [Scala - SBT](./examples.md#scala---sbt)
- [Swift, Objective-C - Carthage](./examples.md#swift-objective-c---carthage)
+4 −4
Changes for examples.md: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
- [Node - Yarn](#node---yarn)
- [PHP - Composer](#php---composer)
- [Python - pip](#python---pip)
- [Ruby - Gem](#ruby---gem)
- [Ruby - Bundler](#ruby---bundler)
- [Rust - Cargo](#rust---cargo)
- [Scala - SBT](#scala---sbt)
- [Swift, Objective-C - Carthage](#swift-objective-c---carthage)
@@ -248,15 +248,15 @@ Replace `~/.cache/pip` with the correct `path` if not using Ubuntu.
      ${{ runner.os }}-pip-
```

## Ruby - Gem
## Ruby - Bundler

```yaml
- uses: actions/cache@v1
  with:
    path: vendor/bundle
    key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
    key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
    restore-keys: |
      ${{ runner.os }}-gem-
      ${{ runner.os }}-gems-
```
When dependencies are installed later in the workflow, we must specify the same path for the bundler.