Fix config reset in ruby-2.0