Fix gem setting not cache