diff --git a/bindings/Makefile b/bindings/Makefile
index b8474b573531728dc5c152233773aeea8541419d..2e11971aaeca63b90a39cc15b772436ca75f74ce 100644
--- a/bindings/Makefile
+++ b/bindings/Makefile
@@ -16,6 +16,7 @@ SAMPLE_X86 = $(TMPDIR)/sample_x86
 all:
 	cd python && $(MAKE) gen_const
 	python const_generator.py nodejs
+	cd ruby && $(MAKE) gen_const
 
 samples: expected python