Skip to content

Commit 3c60c55

Browse files
committed
Merge branch 'bundler-2'
2 parents 0ab872d + 9fb658f commit 3c60c55

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: ruby/setup-ruby@v1
2323
with:
2424
bundler-cache: true
25-
cache-version: 2
25+
cache-version: 3
2626

2727
- name: Build & Validate
2828
run: rake validate

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WORKDIR /usr/src/docs
66

77
RUN git config --global --add safe.directory /usr/src/docs && git config --global --add safe.directory /usr/src/docs/_sass/brand
88

9-
RUN gem install 'bundler:~>1' rake
9+
RUN gem install 'bundler:2.4.22' rake
1010

1111
COPY . ./
1212

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@ DEPENDENCIES
106106
webrick (~> 1.7)
107107

108108
BUNDLED WITH
109-
1.17.3
109+
2.1.4

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ Once setup, the site will be accessible on http://localhost:4000/docs/
1414

1515
1. [Install Ruby][install-ruby]
1616

17-
2. Install Bundler (1.x) and Rake
17+
2. Install Bundler (2.x) and Rake
1818

1919
``` shell
20-
$ gem install 'bundler:~>1' rake
20+
$ gem install bundler rake
2121
```
2222

2323
3. Start the app in development mode

Rakefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ task :deep_clean => [:clean] do
1111
end
1212

1313
task :dependencies do
14-
if ENV["GLOBAL_GEMS"]
15-
sh('bundle install')
16-
else
17-
sh('bundle install --path gems')
14+
if ! ENV["GLOBAL_GEMS"]
15+
sh('bundle config set --local path "gems"')
1816
end
17+
sh('bundle install')
1918

2019
# Fix pathutil on Ruby 3; works around https://github.com/envygeeks/pathutil/pull/5
2120
# as suggested by https://stackoverflow.com/a/73909894/67873

0 commit comments

Comments
 (0)