This document will help you install the chdb-ruby ruby gem.
The gem will automatically compile native extensions during installation (gem install). Supported platforms are:
aarch64-linuxarm64-darwinx86_64-linuxx86_64-darwin
The chdb-ruby gem does not provide a pure Ruby implementation. Installation will fail if your platform is unsupported.
The chdb-ruby gem requires the libchdb C++ library as its core engine. The library will be automatically downloaded during installation. The extension uses dlopen to dynamically load the library. No manual configuration is required.
- Ruby:
require 'chdb'