ruby-tree-sitter.old
ruby-tree-sitter.old copied to clipboard
Compilation on CentOS 8
sudo dnf install -y libtree-sitter-devel glib2-devel nss-util-devel nspr-devel
TREE_SITTER_PARSER_DIR=/usr/include gem install tree-sitter -- --with-cppflags='-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss3 -I/usr/include/nspr4'
Probably should default the env variable to /usr/include and use mkmf pkg-config to find things.