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