codergeek121 / rails-github-actions

sample Rails application using Github Actions
1 stars 0 forks source link

Use the same Ruby version in all files #21

Open codergeek121 opened 1 year ago

codergeek121 commented 1 year ago

The Dockerfile uses 3.0.2 The .ruby-version files uses 3.2.0. The Gemfile uses 3.2.0. The Gemfile.lock contains ruby.3.2.0p0 I'm not sure which version GitHub Actions uses and where the version is defined.

I want the build to fail if the versions don't match in all of those files. Is it possible to update the Ruby version in one place and all files that need a Ruby version read their version from this place?