compiling brotli.c
In file included from brotli.c:1:
In file included from ./brotli.h:6:
./enc/encode.h:12:10: fatal error: '../common/types.h' file not found
#include "../common/types.h"
^
1 error generated.
make: *** [brotli.o] Error 1
∴ gem install brotli
Fetching: brotli-0.1.5.gem (100%)
Building native extensions. This could take a while...
Successfully installed brotli-0.1.5
1 gem installed
That's because path
vendor/brotli/common
doesn't exist ingemspec
: https://github.com/miyucy/brotli/blob/master/brotli.gemspec#L18