<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Dne 1.4.2015 v 19:14 Athenas Jimenez
      napsal(a):<br>
    </div>
    <blockquote
cite="mid:CALztdXVpYuNrpsP+TQfgYptFcZ7gU54unn2oCDotitr-ZA2hRA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello, 
        <div><br>
        </div>
        <div>This is basically my question, why ruby gems packages
          always use --force option during installation?</div>
        <div><br>
        </div>
        <div>(from <a moz-do-not-send="true"
            href="http://pkgs.fedoraproject.org/cgit/ruby.git/tree/macros.rubygems">http://pkgs.fedoraproject.org/cgit/ruby.git/tree/macros.rubygems</a>)</div>
        <div><br>
        </div>
        <div>
          <pre style="margin-top:0px;margin-bottom:0px;padding:0px;color:rgb(0,0,0);font-size:13px;line-height:11.1428575515747px"><code>gem install \\\
        -V \\\
        --local \\\
        --install-dir %{-d*}%{!?-d:.%{gem_dir}} \\\
        --bindir .%{_bindir} \\\
        <b>--force \\\</b>
        --document=ri,rdoc \\\
        %{-n*}%{!?-n:%{gem_name}-%{version}.gem} \
%{nil}</code></pre>
          <pre style="margin-top:0px;margin-bottom:0px;padding:0px;color:rgb(0,0,0);font-size:13px;line-height:11.1428575515747px"><code>
</code></pre>
          <pre style="margin-top:0px;margin-bottom:0px;padding:0px;color:rgb(0,0,0);font-size:13px;line-height:11.1428575515747px"><code>
</code></pre>
          <pre style="margin-top:0px;margin-bottom:0px;padding:0px;color:rgb(0,0,0);font-size:13px;line-height:11.1428575515747px">Thanks for your help </pre>
          <pre style="margin-top:0px;margin-bottom:0px;padding:0px;color:rgb(0,0,0);font-size:13px;line-height:11.1428575515747px">Athenas</pre>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <br>
    From the help:<br>
    <br>
    $ gem help install<br>
    <br>
    <br>
        -f, --[no-]force                 Force gem to install, bypassing
    dependency<br>
                                         checks<br>
    <br>
    <br>
    <br>
    I.e. "gem install" would try to install also gem's dependencies
    (which are not available, since we are offline during build), while
    the "--force" option installs just the gem itself. The dependecies
    have to be satisfied by BuildRequires instead.<br>
    <br>
    <br>
    Vít<br>
    <br>
  </body>
</html>