replace references to Config by RbConfig
replace (read_|write_)inherited_attribute by activesupport's 3.2+ class_attribute