-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Conversation
…order to dual boot both rails
…ated and removed in Rails 7
.circleci/config.yml
Outdated
@@ -554,7 +554,7 @@ jobs: | |||
name: Setup Database | |||
command: | | |||
bundle exec rails db:create --trace | |||
bundle exec rails db:structure:load --trace |
There was a problem hiding this comment.
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.
Looks good to me. Just make sure to mark it as ready for review |
There was a problem hiding this 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
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.