Fixing rubygems warning and removing cruft