(The same problem also occurred in Ruby 2.1.1 and Ruby 2.0.0-p451 and has already been fixed in Ruby 2.1.2 and Ruby 2.0.0-p481.)