tag:help.rubygems.org,2010-01-19:/discussions/suggestions/8175-document-how-to-for-gemtestcaseRubyGems.org: Discussion 2017-02-24T10:33:58Ztag:help.rubygems.org,2010-01-19:Comment/419879422017-02-20T05:03:14Z2017-02-20T05:03:14ZDocument How-To for Gem::TestCase<div><p>While documentation is nice, I don't think it is necessary for
your purposes.</p>
<p>You can use <a href="https://github.com/rubygems/rubygems/blob/master/lib/rubygems/package.rb#L13-L28">
Gem::Package::build</a> to package the gem and <a href="https://github.com/rubygems/rubygems/blob/master/lib/rubygems/installer.rb#L98-L105">
Gem::Installer::at</a> to install the package you've built.</p></div>Eric Hodel