suketa / ruby-duckdb

Ruby binding for DuckDB

Home Page:https://github.com/suketa/ruby-duckdb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using with windows

pere73 opened this issue · comments

How can I also use Gem under Windows?

@pere73
It is not easy way now, and I haven't used ruby-duckdb under Windows... (I have tested ruby-duckdb works under Windows)
But, try the following steps.

  1. Install Ruby+Devkit 3.2.X (x64). (https://rubyinstaller.org/downloads/)
  2. Download libduckdb-windows-amd64.zip and extract it. (https://github.com/duckdb/duckdb/releases/tag/v0.10.0)
  3. Copy duckdb.dll into C:\Windows\System32
  4. Run gem install duckdb -- --with-duckdb-include=XXX --with-duckdb-lib=XXX (XXX is the folder path you extracted libduckdb-windows-amd64.zip)

@suketa

After following your instructions, everything works perfectly. To be honest, I have already carried out steps 1, 2 and 4, but forgot step 3. Now everything works perfectly. Thank you very much!

Perhaps you can close this issue.