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

New queue_schema.rb file hardcodes Rails version #211

Closed
fractaledmind opened this issue Sep 5, 2024 · 5 comments
Closed

New queue_schema.rb file hardcodes Rails version #211

fractaledmind opened this issue Sep 5, 2024 · 5 comments

Comments

@fractaledmind
Copy link
Contributor

fractaledmind commented Sep 5, 2024

After #202, Solid Cache can't be added to any new Rails 7.2 applications:

bin/rails aborted!
ArgumentError: Unknown migration version "8.0"; expected one of "4.2", "5.0", "5.1", "5.2", "6.0", "6.1", "7.0", "7.1", "7.2" (ArgumentError)

          raise ArgumentError, "Unknown migration version #{version.inspect}; expected one of #{versions.sort.join(', ')}"
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/Users/fractaled/Code/Playgrounds/euruko-2024/db/cache_schema.rb:3:in `<main>'

I stumbled into this preparing my workshop for EuRuKo next week, where we are spinning up new Rails 7.2.1 apps and installing the Solid gems.

@fractaledmind
Copy link
Contributor Author

cc @dhh and @djmb

@dhh
Copy link
Member

dhh commented Sep 5, 2024

Yeah, we can just set that to 7.2.

@dhh
Copy link
Member

dhh commented Sep 5, 2024

Need to fix that in SQ too.

@dhh
Copy link
Member

dhh commented Sep 5, 2024

Actually SQ is already set just to 7.1.

@dhh
Copy link
Member

dhh commented Sep 5, 2024

Fixed in 1.0.5.

@dhh dhh closed this as completed Sep 5, 2024
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

No branches or pull requests

2 participants