Fix installed_by_gem edge effect