rails-sqlserver / tiny_tds

TinyTDS - Simple and fast FreeTDS bindings for Ruby using DB-Library.
Other
605 stars 191 forks source link

Prepare tiny_tds gem for Ruby v3.1 on Windows #532

Closed ecentell-CPF closed 7 months ago

ecentell-CPF commented 1 year ago

ERROR: Error installing tiny_tds:

As per @andyundso in https://github.com/rails-sqlserver/tiny_tds/pull/530 work was going to begin on 3.1 and a push to RubyGems was discussed, is there an ETA as to when this will occur?

Please advise. Thanks!

Largo commented 1 year ago

Apologies, the binaries are indeed missing.

Windows with Rubyinstaller with devkit installed:

ridk exec pacman -S mingw-w64-x86_64-freetds --noconfirm ridk exec pacman -S mingw-w64-ucrt-x86_64-freetds --noconfirm bundle config build.tiny_tds --with-freetds-include=C:\Ruby32-x64\msys64\ucrt64\include\freetds

gem install tiny_tds -- --with-freetds-include=C:\Ruby32-x64\msys64\ucrt64\include\freetds

ecentell-CPF commented 9 months ago

Coding completed by #533 awaiting PR for versioning and push to RubyGems

andyundso commented 7 months ago

The platform-specific gems for Ruby 3.1 and 3.2 have been added with #533 and are included in the new 2.1.6 release.