Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIB-45: Dual boot Rails 6.1 and Rails 7 #2578

Merged
merged 7 commits into from
Sep 8, 2024

Conversation

torresga
Copy link
Contributor

@torresga torresga commented Sep 3, 2024

What

This PR adds the dual boot code to dual boot both Rails 6.1 and Rails 7.0 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.0.

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.

@@ -554,7 +554,7 @@ jobs:
name: Setup Database
command: |
bundle exec rails db:create --trace
bundle exec rails db:structure:load --trace
Copy link
Contributor Author

@torresga torresga Sep 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need to be changed in the build job when we make Rails 7.0 the only version, as rails db:structure:load was deprecated and removed in Rails 7.0.

@mateusdeap
Copy link
Contributor

Looks good to me. Just make sure to mark it as ready for review

bin/setup Show resolved Hide resolved
Copy link
Member

@sethherr sethherr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’ll test this out today

@sethherr sethherr merged commit 07ef611 into main Sep 8, 2024
5 checks passed
@sethherr sethherr deleted the BIB-45-dual-boot-rails-6-1-and-7 branch September 8, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants