ryanwi / rails7-on-docker

Working Rails 7 demo application running in Docker. No node.js or webpack required.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sqlite3: Failed to build gem native extension

batlley opened this issue · comments

Following error occured when building the image:

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/local/bundle/gems/sqlite3-1.4.2/ext/sqlite3

checking for sqlite3.h... no
sqlite3.h is missing. Try 'brew install sqlite3',
'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'

Installing libsqlite3-dev to the dependancies fix the issue.