Skip to content

docs: add Windows installation guide#204

Merged
kenhys merged 1 commit intofluent:masterfrom
Watson1978:update-installation
Apr 21, 2026
Merged

docs: add Windows installation guide#204
kenhys merged 1 commit intofluent:masterfrom
Watson1978:update-installation

Conversation

@Watson1978
Copy link
Copy Markdown
Contributor

@Watson1978 Watson1978 commented Apr 21, 2026

Starting from bson v4.6.0, the C extension is bundled directly into the gem, which requires a C compiler for installation. This causes installation failures on Windows environments by default.

This commit updates the README to include instructions for Windows users to install the MSYS2 development toolchain via ridk install and run the gem installation using ridk exec to ensure native extensions build successfully.

Fix #180
Fix #162
Fix #153

Starting from bson v4.6.0, the C extension is bundled directly into
the gem, which requires a C compiler for installation. This causes
installation failures on Windows environments by default.

This commit updates the README to include instructions for Windows
users to install the MSYS2 development toolchain via `ridk install`
and run the gem installation using `ridk exec` to ensure native
extensions build successfully.

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978 Watson1978 force-pushed the update-installation branch from 863f742 to 9cab4b2 Compare April 21, 2026 02:57
@Watson1978 Watson1978 requested a review from kenhys April 21, 2026 02:57
Copy link
Copy Markdown
Contributor

@kenhys kenhys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@kenhys kenhys merged commit 33ac080 into fluent:master Apr 21, 2026
26 checks passed
@Watson1978 Watson1978 deleted the update-installation branch April 21, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error installing fluent-plugin-mongo Error: Failed to build gem native extension MSYS2 could not be found. Please run 'ridk install'

2 participants