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

fix sqlite3 version #439

Merged
merged 1 commit into from
Sep 5, 2024
Merged

Conversation

kakubin
Copy link
Contributor

@kakubin kakubin commented Jul 29, 2024

While execute spec with appraisal, I caught error.

An error occurred while loading ./spec/closure_tree/matcher_spec.rb. - Did you mean?
                    rspec ./spec/closure_tree/has_closure_tree_root_spec.rb

Failure/Error: ActiveRecord::Base.establish_connection

LoadError:
  Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.4), already activated sqlite3-2.0.2-arm64-darwin. Make sure all dependencies are added to Gemfile.
# ./spec/spec_helper.rb:34:in `<top (required)>'
# ./spec/closure_tree/matcher_spec.rb:1:in `<top (required)>'
# ------------------
# --- Caused by: ---
# Gem::LoadError:
#   can't activate sqlite3 (~> 1.4), already activated sqlite3-2.0.2-arm64-darwin. Make sure all dependencies are added to Gemfile.
#   ./spec/spec_helper.rb:34:in `<top (required)>'

sqlite3 v2 is supported by only rails 7.2 or above

ref: rails/rails@fd1c635d2f1

sqlite3 v2 is supported by only rails 7.2 or above

ref: rails/rails@fd1c635d2f1
@kakubin
Copy link
Contributor Author

kakubin commented Sep 5, 2024

@seuros
Could you review this?

@seuros seuros merged commit 53f4dc5 into ClosureTree:master Sep 5, 2024
@kakubin kakubin deleted the fix_sqlite3_version branch September 5, 2024 07:13
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.

2 participants