Removed some dead code

[ci skip]
graceful report missing features in rubygems rugged