<!DOCTYPE html> <html lang=“en-us”>
<head>
<meta charset="UTF-8">
<title>How to build the Gemspec</title>
<meta name="description" content="A Ruby Programmed Rock Paper Scissors Game"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="/assets/css/style.css?v=45e382f8a2e6d0c42f3545866e4a625138619b16">
</head>
<body>
<section class="page-header">
<h1 class="project-name">Play Rock Paper Scissors Game</h1>
<h2 class="project-tagline">A Ruby Programmed Rock Paper Scissors Game</h2>
<a href="http://github.com/bag3318/RockPaperScissors" class="btn">View on GitHub</a>
<a href="http://github.com/bag3318/RockPaperScissors/issues" class="btn">Report a Bug</a>
<a href="http://github.com/bag3318/RockPaperScissors/zipball/gh-pages" class="btn">Download .zip</a>
<a href="http://github.com/bag3318/RockPaperScissors/tarball/gh-pages" class="btn">Download .tar.gz</a>
<br/>
<a href="#site-nav" class="btn">Site Nav</a>
</section>
<section class="main-content">
<h1 id="how-to-build-the-gemspec">How to build the Gemspec</h1>
<h2 id=“instructions”>Instructions</h2>
<ol>
<li>Open the <code class="highlighter-rouge">rps.gemspec</code> file with your preferred <strong>IDE</strong></li>
<li>Delete these lines:
<ul>
<li><code class="highlighter-rouge">spec.cert_chain = ["certs/gem-public_cert.pem"]</code></li>
<li><code class="highlighter-rouge">spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/</code></li>
</ul>
</li>
<li>Save</li>
<li>Open <code class="highlighter-rouge">Terminal</code>/<code class="highlighter-rouge">Command Prompt</code></li>
<li><code class="highlighter-rouge">cd</code> to the directory of the <code class="highlighter-rouge">rps.gemspec</code> file (<strong>note: this file must be in the <em>root</em> of the repo folder</strong>)</li>
<li>Type: <code class="highlighter-rouge">gem build rps</code></li>
<li>Hit <kbd>return</kbd>/<kbd>enter</kbd></li>
</ol>
<hr />
<h2 id=“site-nav”>Site Nav</h2>
<table>
<tbody>
<tr>
<td><a href="./">Home</a></td>
<td><a href="Testing">How to Test</a></td>
<td><a href="CONTRIBUTING">Contributing</a></td>
<td><a href="CODE_OF_CONDUCT">Code of Conduct</a></td>
</tr>
</tbody>
</table>
<footer class="site-footer">
<span class="site-footer-owner"><a href="http://github.com/bag3318/RockPaperScissors">RockPaperScissors</a> is maintained by <a href="http://github.com/bag3318">bag3318</a>.</span>
</footer>
</section>
</body>
</html>