bikeindex / bike_index

All the code for Bike Index, because we love you
https://bikeindex.org
GNU Affero General Public License v3.0
273 stars 68 forks source link

BIB-46: Dual boot with Rails 7.1 #2581

Open torresga opened 1 week ago

torresga commented 1 week ago

⚠️ Must follow https://github.com/bikeindex/bike_index/pull/2579

This PR adds the dual boot code to dual boot both Rails 7.0 and Rails 7.1 locally and in CI.

Running rails c and rails s should work as expected with no errors. The CI should run the tests for Rails 7.1.

You can append BUNDLE_GEMFILE=Gemfile.next to a command, i.e. BUNDLE_GEMFILE=Gemfile.next rails c to run whatever command using Rails 7.1.

We will continue to fix the broken build in Rails 7.1 in upcoming PRs.