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 engine_cart generate fails on a fresh install of Hyrax development environment or or on an old installation that used to work until now.
/home/xxxxxx/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/connection_specification.rb:188:in `rescue in spec': Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord). (Gem::LoadError)
This issue seems related the February 4th update of the sqlite3 gem (1.4.0).
Expected behavior
rake engine_cart:generate should work out of the box
Actual behavior
You have to force sqlite version in hyrax.gemspec. spec.add_development_dependency 'sqlite3', '~> 1.3.0'
Then bundle update and rake engine_cart:generate will work as usual.
Descriptive summary
rake engine_cart generate
fails on a fresh install of Hyrax development environment or or on an old installation that used to work until now./home/xxxxxx/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/connection_specification.rb:188:in `rescue in spec': Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord). (Gem::LoadError)
This issue seems related the February 4th update of the sqlite3 gem (1.4.0).
Expected behavior
rake engine_cart:generate
should work out of the boxActual behavior
You have to force sqlite version in hyrax.gemspec.
spec.add_development_dependency 'sqlite3', '~> 1.3.0'
Then
bundle update
andrake engine_cart:generate
will work as usual.Steps to reproduce the behavior
Follow installation guide : https://github.com/samvera/hyrax/wiki/Hyrax-Development-Guide#generate-test-app
The text was updated successfully, but these errors were encountered: