Getting error "sqlite3.h is missing" when trying to install SQLite sqlite3-1.4.2
(1) By anonymous on 2021-03-16 03:32:52 [source]
Hello, I get the following error when trying to install SQLite3 1.4.2 version from Ruby.
I am a beginner and unable to fix this error. Can someone please help?
current directory: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sqlite3-1.4.2/ext/sqlite3 C:/Ruby27-x64/bin/ruby.exe -I C:/Ruby27-x64/lib/ruby/2.7.0 -r ./siteconf20210316-20604-1ofa8u5.rb extconf.rb checking for sqlite3.h... no sqlite3.h is missing. Install SQLite3 from http://www.sqlite.org/ first. *** extconf.rb failed ***
Gem files will remain installed in C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sqlite3-1.4.2 for inspection. Results logged to C:/Ruby27-x64/lib/ruby/gems/2.7.0/extensions/x64-mingw32/2.7.0/sqlite3-1.4.2/gem_make.out
An error occurred while installing sqlite3 (1.4.2), and Bundler cannot continue.
Make sure that gem install sqlite3 -v '1.4.2' --source 'https://rubygems.org/'
succeeds before bundling.