On Wed, Sep 18, 2024 at 04:33:49PM -0700, Soren Stoutner wrote:
> I am attempting to update the Redmine package.  After updating to the latest 
> upstream and adjusting the patches I am able to start the build process, but 
> it fails when running a database test.
> 
> cp debian/database.test.yml instances/default/config/database.yml
> bin/rake db:migrate RAILS_ENV=test
> rake aborted!
> LoadError: Error loading the 'sqlite3' Active Record adapter. Missing a gem 
> it 
> depends on? cannot load such file -- sqlite3
> 
> https://salsa.debian.org/soren/redmine/-/jobs/6302092
> 
> It Build-Depends on ruby-sqlite3 and ruby-rails (which depends on ruby-
> activerecord).  Does anyone have any ideas as to what the root cause of this 
> problem is?

This makes the test suite run for me:

----------------8<----------------8<----------------8<-----------------
diff --git a/debian/Gemfile.test.local b/debian/Gemfile.test.local
index 797c4ca1..cc5c2ce6 100644
--- a/debian/Gemfile.test.local
+++ b/debian/Gemfile.test.local
@@ -1,2 +1,3 @@
 # rexml is bundled and not default since Ruby 3.0.0
 gem 'rexml'
+gem 'sqlite3'
----------------8<----------------8<----------------8<-----------------

There is at least 1 test failure, but I didn't look into it.

Attachment: signature.asc
Description: PGP signature

Reply via email to