update Ruby 2.x warning