Releasing Ruby Application for Specific users
<p>I am new to <code>Ruby</code> and I have written a small app, that consists of around 50 <code>.rb</code> files and 6 folders. The purpose of app is to be an <code>SDK</code> for Ruby users, to interact with my <code>API</code>. It also uses few gems. Now I want to release this app for specific users, but looking at the internet for the solution really confused me <em>(may be just because I'm new to it)</em> and MOST of the posts found were for <code>Rails</code></p>

<p>Being through several posts, what I find to be reasonable is to make a <code>gem</code> out of it and publish this <code>gem</code> at <code>rubygems.org</code>. <em>(but this also makes it fully public)</em></p>

<p><strong>Question:</strong></p>

<ul>
<li>Is this the correct approach in my specific scenario?</li>
<li>How can I manage the dependencies? <em>(This part is very confusing, I will need more guidelines on this)</em></li>
<li>How to limit audience? <em>(I have personal git server, would this be of any help)</em></li>
</ul>

<p><em>Other Info:</em></p>

<ul>
<li>App is developed in Ruby version <code>2.1.8</code>, It makes <code>http</code> <code>Get</code>/<code>Post</code> requests using <code>TLS</code>, and is <strong>NOT</strong> a <code>Rails</code> or web app</li>
<li>I have been through several SO posts like <a href="https://stackoverflow.com/questions/24940877/how-do-you-package-a-ruby-application-for-offline-installation">THIS</a>, <a href="https://stackoverflow.com/questions/27145599/how-to-package-and-release-a-ruby-application">THIS</a> etc. But I couldn't understand it for my case.</li>
<li>I created a project in <a href="https://www.jetbrains.com/ruby/" rel="nofollow noreferrer">Jetbrains' IDE, called RubyMine</a>. My project doesn't have bin folder, etc. but only my own folders and <code>.rb</code> files. And most of the solutions also talk about bin.</li>
</ul>

<p>Any help will be appreciated.</p>