Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>From what i've read about bundler — pip without virtualenv should work just fine for you. You can think of it as something between regular gem command and bundler. Common things that you can do with pip:</p> <ol> <li><p><strong>Installing packages (gem install)</strong></p> <pre><code>pip install mypackage </code></pre></li> <li><p><strong>Dependencies and bulk-install (gemfile)</strong></p> <p>Probably the easiest way is to use pip's requirements.txt files. Basically it's just a plain list of required packages with possible version constraints. It might look something like:</p> <pre><code>nose==1.1.2 django&lt;1.3 PIL </code></pre> <p>Later when you'd want to install those dependencies you would do:</p> <pre><code>$ pip install -r requirements.txt </code></pre> <p>A simple way to see all your current packages in requirements-file syntax is to do:</p> <pre><code>$ pip freeze </code></pre> <p>You can read more about it <a href="http://pip.readthedocs.org/en/latest/user_guide.html#requirements-files" rel="noreferrer">here</a>.</p></li> <li><p><strong>Execution (bundler exec)</strong></p> <p>All python packages that come with executable files are usually directly available after install (unless you have custom setup or it's a special package). For example:</p> <pre><code>$ pip install gunicorn $ gunicorn -h </code></pre></li> <li><p><strong>Package gems for install from cache (bundler package)</strong></p> <p>There is <code>pip bundle</code> and <code>pip zip/unzip</code>. But i'm not sure if many people use it.</p></li> </ol> <p><strong>p.s.</strong> If you do care about environment isolation you can also use virtualenv together with pip (they are close friends and work perfectly together). By default pip installs packages system-wide which might require admin rights. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload