Skip to content

Commit 903067b

Browse files
ndbroadbentclaude
andcommitted
Fix Rails Main workflow Ruby version mismatch
Remove Gemfile.lock before bundle install to avoid Ruby version conflicts when testing with Ruby 4.0.1. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9fed15f commit 903067b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/rails-main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15+
- name: Remove Gemfile.lock for variable Ruby/Rails versions
16+
run: rm -f Gemfile.lock
17+
1518
- name: Setup Ruby 4.0.1
1619
uses: ruby/setup-ruby@v1
1720
with:

0 commit comments

Comments
 (0)