[ruby-core:114469] [Ruby master Bug#14422] Ruby configuration options should not be reused for gem builds