Skip to content

Commit 20e8e58

Browse files
authored
Bump Ruby from 3.3 to 3.4 (#188)
* Update Ruby version to 3.4 in CI workflow Bumps the Ruby version from 3.3 to 3.4 in the GitHub Actions CI configuration for both Jekyll and Rails jobs to ensure compatibility with the latest Ruby release. * fix: Add csv for Ruby v2.4 ``` bundler: failed to load command: jekyll (/home/runner/work/railsdoc.github.io/railsdoc.github.io/vendor/bundle/ruby/3.4.0/bin/jekyll) <internal:/opt/hostedtoolcache/Ruby/3.4.6/x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require': cannot load such file -- csv (LoadError) ``` * Update Ruby version to 3.4 in deploy workflow Bumps the Ruby version from 3.3 to 3.4 in the GitHub Actions deploy workflow to ensure compatibility with the latest Ruby features and security updates.
1 parent 94b8b5f commit 20e8e58

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: ruby/setup-ruby@v1
2121
with:
22-
ruby-version: 3.3
22+
ruby-version: 3.4
2323
bundler-cache: true
2424
- name: Jekyll Build
2525
run: bundle exec jekyll build
@@ -40,7 +40,7 @@ jobs:
4040
run: cd rails && git fetch --depth=1 origin refs/tags/v8*:refs/tags/v8*
4141
- uses: ruby/setup-ruby@v1
4242
with:
43-
ruby-version: 3.3
43+
ruby-version: 3.4
4444
bundler-cache: true
4545
- name: Doc Build
4646
run: rake build

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Ruby
1818
uses: ruby/setup-ruby@v1
1919
with:
20-
ruby-version: 3.3
20+
ruby-version: 3.4
2121
bundler-cache: true
2222
- name: Setup Pages
2323
uses: actions/configure-pages@v5

Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
source 'https://rubygems.org'
22

33
gem 'jekyll'
4+
5+
gem 'csv'
46
gem 'nokogiri', '1.15.6'
57
gem 'rake'
68
gem 'webrick'
79

810
group :jekyll_plugins do
9-
gem 'github-pages'
1011
gem 'faraday', '~> 2.8.1' # For Ruby v2.x
12+
gem 'github-pages'
1113
gem 'jekyll-include-cache'
1214
gem 'jekyll-toc'
1315
end

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ GEM
2323
commonmarker (0.23.10)
2424
concurrent-ruby (1.3.3)
2525
connection_pool (2.4.1)
26+
csv (3.3.5)
2627
dnsruby (1.72.1)
2728
simpleidn (~> 0.2.1)
2829
drb (2.2.1)
@@ -268,6 +269,7 @@ PLATFORMS
268269
ruby
269270

270271
DEPENDENCIES
272+
csv
271273
faraday (~> 2.8.1)
272274
github-pages
273275
jekyll

0 commit comments

Comments
 (0)