Trouble installing Jekyll

I’m trying to install Jekyll on OpenSUSE, and have installed all the relevant prerequisites following the instructions here: Installation | Jekyll • Simple, blog-aware, static sites

I’ve been able to install bundler with no issue, but whenever I try to install Jekyll I get the error below. Any advice?

The error message is below:

shared_convert.c: In function ‘shared_Msgval_IsEqual’:
shared_convert.c:39:1: error: control reaches end of non-void function [-Werror=return-type]
   39 | }
      | ^
shared_convert.c: In function ‘shared_Msgval_GetHash’:
shared_convert.c:64:1: error: control reaches end of non-void function [-Werror=return-type]
   64 | }
      | ^
cc1: some warnings being treated as errors
make: *** [Makefile:248: shared_convert.o] Error 1

make failed, exit code 2