Codecast: Create a RubyGem 88: Add Ruby 3.1 to GitHub Actions and Update Bundle @StatelessCode
Codecast: Create a RubyGem 88: Add Ruby 3.1 to GitHub Actions and Update Bundle  @StatelessCode
Uploaded January 2022 | Updated September 2026, 2 weeks ago
This is the 88th video in the NerdDice create a RubyGem series. In this video Mike ensures compatiblity with Ruby 3.1 by adding it to the GitHub Actions for the gem. He also updates the gemspec with later versions of the development dependencies and backports the commit to the stable branches for 0.4, 0.3 and 0.2 of the gem.

This video covers:
00:00:30 Introduction
00:01:30 Switch to Ruby 3.1.0 in RVM and run a bundle install
00:02:57 Run benchmark and RSpec
00:03:33 Update the GitHub Actions
00:04:11 Run RuboCop. Erroring out. Update gem versions in gemspec and run bundle update.
00:06:36 Run RuboCop, autocorrect new violations, and review git diff
00:08:24 Add new cops to rubocop.yml and review git diff again
00:12:11 Review, commit, push code to master, review GitHub Action
00:14:15 Backport change to version-0-4-x-stable branch
00:16:44 Backport change to version-0-3-x-stable branch and resolve cherry-pick conflicts
00:20:51 Backport change to version-0-2-x-stable branch and resolve cherry-pick conflicts
00:24:20 Review changes to the repo and update backlog

This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.
Codecast: Create a RubyGem 88: Add Ruby 3.1 to GitHub Actions and Update BundleGet Devise Working with Turbo in Rails 7Codecast: Getting Started with Rails 7 26: Fix Rich Text Fixtures and ValidationsInstall Ubuntu 24.04 LTS DesktopThe Prodigal Retro Returns!Mediocre Karaoke - Dust in the Wind by KansasDive into Agentforce and Prompt BuilderCodecast: Create a RubyGem 86: Retro on Version 0.4.0 (Now with Mediocre Karaoke)Write and Debug Happy Path System Tests for Devise Reset PasswordCodecast: statelesscode.com WordPress 22: Start Styling CommentsCodecast: Getting Started with Rails 7 13: Create Comments for an Article
Stateless Code |

Codecast: Create a RubyGem 88: Add Ruby 3.1 to GitHub Actions and Update Bundle

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER