Closed palladius closed 4 months ago
@palladius Could you try this please? https://github.com/patterns-ai-core/langchainrb?tab=readme-ov-file#problems
I believe the problem is in Unicode gem, not updated since 2017.: https://github.com/blackwinter/unicode/issues/12
Andrei, will do.
Since the problem is solved I'm gonna close this. I beliebve the config can be done programmatically this way:
if uname | grep Darwin; then
bundle config build.unicode --with-cflags=\"-Wno-incompatible-function-pointer-types\"
fi
The problem occurs also with current Manjaro Linux 5.15.160-1-MANJARO (might be other Linuxes as well) The cflag here is slightly different. This works:
gem install unicode -- --with-cflags="-Wno-incompatible-pointer-types"