[Fedora-packaging] why gem install always use the --force option? [SOLVED]

Athenas Jimenez athenasjim at gmail.com
Sun Apr 5 17:57:19 UTC 2015


Thank you so much!!! That was exactly the answer I was looking for.



On Thu, Apr 2, 2015 at 2:30 AM, Vít Ondruch <vondruch at redhat.com> wrote:

>  Dne 1.4.2015 v 19:14 Athenas Jimenez napsal(a):
>
> Hello,
>
>  This is basically my question, why ruby gems packages always use --force
> option during installation?
>
>  (from http://pkgs.fedoraproject.org/cgit/ruby.git/tree/macros.rubygems)
>
>  gem install \\\
>         -V \\\
>         --local \\\
>         --install-dir %{-d*}%{!?-d:.%{gem_dir}} \\\
>         --bindir .%{_bindir} \\\
>         *--force \\\*
>         --document=ri,rdoc \\\
>         %{-n*}%{!?-n:%{gem_name}-%{version}.gem} \
> %{nil}
>
>   Thanks for your help
>
> Athenas
>
>
>
>
>
> From the help:
>
> $ gem help install
>
>
>     -f, --[no-]force                 Force gem to install, bypassing
> dependency
>                                      checks
>
>
>
> 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.
>
>
> Vít
>
>
> --
> packaging mailing list
> packaging at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/packaging
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20150405/ee22ab48/attachment.html>


More information about the packaging mailing list