# sqlite3-ruby

> Ruby bindings for the SQLite3 embedded database

Source: https://talira.ai/catalog/sqlite3-ruby-7nwbmdjq
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / databases / drivers](https://talira.ai/categories/libraries/databases/drivers)
- Platforms: linux, macos, windows[^2]
- Licence: BSD-3-Clause[^1]
- Pricing: Free and open source
- Free tier: yes
- Backed by: [Sparkle Motion](https://talira.ai/orgs/sparklemotion.md)

sqlite3-ruby, the sqlite3 gem, lets Ruby programs open and query [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md) databases: SQLite3::Database runs SQL with bound parameters and returns rows, Statement prepares queries and ResultSet steps through results, and it can load SQLite extensions. Since version 2.5 it ships precompiled native gems with SQLite bundled for Linux (glibc and musl), macOS and Windows, so installing it needs no compiler; it can also build against the system's SQLite or a drop-in replacement. It's maintained by the Sparkle Motion team that also maintains [Nokogiri](https://talira.ai/catalog/nokogiri-g7b2zmqc.md).

## Links

- GitHub: https://github.com/https://github.com/sparklemotion/sqlite3-ruby
- Docs: https://sparklemotion.github.io/sqlite3-ruby/

## Problems it solves

- use a SQLite database from my Ruby script
- install the sqlite3 gem without compiling native extensions
- load a SQLite extension from Ruby

## Features

- Database, Statement and ResultSet APIs
- bound parameters
- precompiled native gems with SQLite bundled
- builds against system SQLite or drop-in replacements
- loads SQLite extensions

## Trust

Overall: 0.27 out of 1.
Signals: backing 0.30, extensibility 0.00.

- backed by Sparkle Motion

Warnings:

- GitHub activity not fetched yet

## Sources

[^1]: https://github.com/sparklemotion/sqlite3-ruby/blob/main/LICENSE (checked 24 Nov 2026)
[^2]: https://github.com/sparklemotion/sqlite3-ruby/blob/main/INSTALLATION.md (checked 24 Nov 2026)
