Add more ignore diagnostic pragmas to ruby in order to cover some warningsin docker.
#if defined(__GNUC__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wredundant-decls"
+# pragma GCC diagnostic ignored "-Wpedantic"
#endif
#include <ruby.h>
