My Bitbucket pipeline failed with the error message:

+ bundle exec hanami db prepare
sh: 1: sqlite3: not found
/usr/local/bundle/gems/hanami-model-1.2.0/lib/hanami/model/migrator/adapter.rb:214:in `block in execute'
/usr/local/bundle/gems/hanami-model-1.2.0/lib/hanami/model/migrator/adapter.rb:216:in `block in execute'

Apparently the Ruby Docker image is based on Debian, so I can just add

- apt-get update && apt-get install sqlite3

to my bitbucket-pipelines.yml file.

Leave a Reply

Your email address will not be published. Required fields are marked *