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.
- Install Ruby+Devkit 3.2.X (x64). (https://rubyinstaller.org/downloads/)
- Download
libduckdb-windows-amd64.zip
and extract it. (https://github.com/duckdb/duckdb/releases/tag/v0.10.0) - Copy
duckdb.dll
intoC:\Windows\System32
- Run
gem install duckdb -- --with-duckdb-include=XXX --with-duckdb-lib=XXX
(XXX is the folder path you extracted libduckdb-windows-amd64.zip)
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.