Is it possible to install bundler using bundler --standalone
<p>I know this may sound weird - maybe like search for "google" using google - but I'm fighting with a problem using the standalone feature of bundler.</p>

<p>Background:</p>

<p>I'm creating a rpm for "single click" installation of a rails application. What I don't want is to build all the necessary gems on the target server - I want to deliver them within the rpm file.</p>

<p>So I did the "hack" using </p>

<pre><code>bundle install --standalone default --binstubs bin/
</code></pre>

<p>But rails require bundler. Shure there are ways to remove bundler from rails - but this isn't easy in an grown application. So I don't have a problem with using bundler in my production setup.</p>

<p>But bundler won't install bundler to the standalone folder - and I couldn't figure out how to do this</p>

<p>Is there a way to work arround this? Or is there a better way without building the gems locally and without refactoring the rails app?</p>