<div dir="ltr">Thank you so much!!! That was exactly the answer I was looking for.<div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 2, 2015 at 2:30 AM, Vít Ondruch <span dir="ltr"><<a href="mailto:vondruch@redhat.com" target="_blank">vondruch@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Dne 1.4.2015 v 19:14 Athenas Jimenez
napsal(a):<br>
</div><div><div class="h5">
<blockquote 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 href="http://pkgs.fedoraproject.org/cgit/ruby.git/tree/macros.rubygems" target="_blank">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></fieldset>
<br>
</blockquote>
<br>
<br></div></div>
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.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Vít<br>
<br>
</font></span></div>
<br>--<br>
packaging mailing list<br>
<a href="mailto:packaging@lists.fedoraproject.org">packaging@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/packaging" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/packaging</a><br></blockquote></div><br></div></div>