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