lsegal on 03 Jan, 2015 08:23 PM
Until ruby-net-ldap is removed from RubyGems (if that's the
plan), there's no good way for RubyDoc.info to stop serving docs
for this gem. Also note that the versions available for
ruby-net-ldap are different from net-ldap, so there would be no way
to redirect a user looking for 0.0.4 of this gem to net-ldap, as it
Personally I wouldn't recommend removing the gem since legacy
code might be relying on it. If search results are the only
problem, I would just update links to not refer to this gem and it
will be deprioritized in Google through regular means. If that's
not feasible we could look at adding something to our robots.txt so
Google stops trying to crawl it-- that would be the better approach
Yeah, ruby-net-ldap was the legacy gem name but hasn't been maintained since 2006. However, most blogs and tweets and inbound links go to ruby-net-ldap instead of net-ldap which results in new users being exposed to (really) old docs and possibly installing really old versions of the gem. We don't control any of these links, and many are years old now; it'd be a fools errand trying to update every last link on the internet pointing to the old gem (at least, that's what my gut tells me).
I agree, deleting the gem would likely be a bad move. The robots.txt option sounds like a good first step.