ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of function config_new_option (bug #31050)