Red ADBC is the Ruby bindings of ADBC GLib.
If you want to install Red ADBC by Bundler, you can add the following
to your Gemfile:
plugin "rubygems-requirements-system"
gem "red-adbc"If you want to install Red ADBC by RubyGems, you can use the following command line:
$ gem install rubygems-requirements-system
$ gem install red-adbcrequire "adbc"
ADBC::Database.open(driver: "adbc_driver_sqlite",
uri: ":memory:") do |database|
database.connect do |connection|
puts(connection.query("SELECT 1"))
end
end