Undefined method `can_enable_safe_mode?'

Does it keep happening after a rebuild?