[ruby-core:124687] [Ruby Bug#21864] Inconsistencies in type coercion error messages for integers