Fix gem warnings