You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rake aborted!
LoadError: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.3.6), already activated sqlite3-1.4.0. Make sure all dependencies are added to Gemfile.
/home/maurizio/Sviluppo/Nebulab/solidus/sandbox/config/environment.rb:5:in `<main>'
/home/maurizio/.asdf/installs/ruby/2.6.0/bin/bundle:23:in `load'
/home/maurizio/.asdf/installs/ruby/2.6.0/bin/bundle:23:in `<main>'
Caused by:
Gem::LoadError: can't activate sqlite3 (~> 1.3.6), already activated sqlite3-1.4.0. Make sure all dependencies are added to Gemfile.
/home/maurizio/Sviluppo/Nebulab/solidus/sandbox/config/environment.rb:5:in `<main>'
/home/maurizio/.asdf/installs/ruby/2.6.0/bin/bundle:23:in `load'
/home/maurizio/.asdf/installs/ruby/2.6.0/bin/bundle:23:in `<main>'
Tasks: TOP => db:drop => db:load_config => environment
(See full trace by running task with --trace)
Expected behavior
It should successfully create the sandbox
The text was updated successfully, but these errors were encountered:
Related to solidusio#3087. ActiveRecord 5.2.2 has sqlite3 dependency locked to ~>
1.3.6, we need to reflect that in order to avoid conflicts due to
sqlite3 1.4 version releasement.
Fixessolidusio#3087. `rails new` generates a Gemfile with `gem 'sqlite3'`
dependency declaration, but since sqlite3 1.4 has been released it
conflicts with activerecord sqlite3 adapter dependency declaration,
which is `sqlite3 ~> 1.3.6`.
On February 04, 2019 sqlite3 1.4.0 has been released. This version breaks ActiveRecord 5.2.2 SQLite adapter, which requires sqlite3 ~> 1.3.6: https://github.com/rails/rails/blob/v5.2.2/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L12
Solidus Version:
2.9.0.alpha@a736ec34e
To Reproduce
bundle exec rake sandbox
Current behavior
It fails showing the following error:
Expected behavior
It should successfully create the sandbox
The text was updated successfully, but these errors were encountered: