Remove minitar dependency and use Rubygems directly