fix has_gem to has_gem?