You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is possible. Since FreeTDS v1.0, utf-16 is enabled by default and supported by tiny_tds. You can toggle it by using `use_utf16` when establishing the connection.
394
394
395
-
## Compiling Gems for Windows and Linux
396
-
397
-
For the convenience of Windows and Linux users, TinyTDS ships pre-compiled gems for supported versions of Ruby on Windows. In order to generate these gems, [rake-compiler-dock](https://github.com/rake-compiler/rake-compiler-dock) is used. This project provides several [Docker images](https://registry.hub.docker.com/u/larskanis/) with rvm, cross-compilers and a number of different target versions of Ruby.
398
-
399
-
Run the following rake task to compile the gems for Windows. This will check the availability of [Docker](https://www.docker.com/) and will give some advice for download and installation. When docker is running, it will download the docker image (once-only) and start the build:
400
-
401
-
```
402
-
$ rake gem:native
403
-
```
404
-
405
-
The compiled gems will exist in `./pkg` directory.
406
-
407
-
408
395
## Development & Testing
409
396
410
397
First, clone the repo using the command line or your Git GUI of choice.
For the convenience, TinyTDS ships pre-compiled gems for supported versions of Ruby on Windows and Linux. In order to generate these gems, [rake-compiler-dock](https://github.com/rake-compiler/rake-compiler-dock) is used.
444
+
445
+
Run the following rake task to compile the gems. This will check the availability of [Docker](https://www.docker.com/) and will give some advice for download and installation. When docker is running, it will download the docker image (once-only) and start the build:
446
+
447
+
```shell
448
+
bundle exec rake gem:native
449
+
```
450
+
451
+
The compiled gems will exist in `./pkg` directory.
452
+
453
+
If you only need a specific gem for one platform and architecture, run this command:
454
+
455
+
```shell
456
+
bundle exec rake gem:native:x64-mingw-ucrt
457
+
```
458
+
459
+
All the supported architectures and platforms are listed in the `Rakefile` in the `CrossLibraries` constant.
0 commit comments