Skip to content

Commit 1beb6d7

Browse files
committed
Switch to Ruby 2.6 for better compatibility with Bundler 1.17.2
1 parent e1e3b33 commit 1beb6d7

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,15 @@ jobs:
2828
- name: Setup Ruby
2929
uses: ruby/setup-ruby@v1
3030
with:
31-
ruby-version: '3.2'
32-
bundler-cache: false
31+
ruby-version: '2.6'
32+
bundler-cache: true
3333
working-directory: www
3434

3535
- name: Build with Jekyll
3636
run: |
3737
cd www
38-
gem install bundler -v "~> 2.6"
39-
# Use the full path to the new bundler to avoid using the pre-installed one
40-
$(which bundle) --version
41-
$(which bundle) install
42-
$(which bundle) exec jekyll build
38+
bundle install
39+
bundle exec jekyll build
4340
env:
4441
JEKYLL_ENV: production
4542

www/Gemfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gem "github-pages", group: :jekyll_plugins
77
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
88
# and associated library.
99
platforms :mingw, :x64_mingw, :mswin, :jruby do
10-
gem "tzinfo", "~> 2.0"
10+
gem "tzinfo", "~> 1.2"
1111
gem "tzinfo-data"
1212
end
1313

@@ -19,7 +19,4 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
1919
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
2020

2121
# Needed for Ruby 3.0+
22-
gem "webrick", "~> 1.8"
23-
24-
# Explicitly specify ffi version to avoid compatibility issues
25-
gem "ffi", "~> 1.15.5"
22+
gem "webrick", "~> 1.7"

0 commit comments

Comments
 (0)