make: Remove spurious dependency package 'rubygems' for Debian-like systems

On Ubuntu, the apt-get install call to ruby, ruby-devel, and rubygems will
fail because there is no "rubygems" package in Ubuntu.

In Debian, this package is virtual only. In both cases, the ruby package
is sufficient. (See also https://packages.debian.org/jessie/rubygems)
This commit is contained in:
Felix Frank
2018-12-04 06:36:26 +01:00
committed by James Shubin
parent 4e42d9ed03
commit 9ed830bb81

View File

@@ -39,7 +39,7 @@ fi
if [ ! -z "$APT" ]; then if [ ! -z "$APT" ]; then
$sudo_command $APT install -y libvirt-dev || true $sudo_command $APT install -y libvirt-dev || true
$sudo_command $APT install -y libaugeas-dev || true $sudo_command $APT install -y libaugeas-dev || true
$sudo_command $APT install -y ruby ruby-dev rubygems || true $sudo_command $APT install -y ruby ruby-dev || true
$sudo_command $APT install -y libpcap0.8-dev || true $sudo_command $APT install -y libpcap0.8-dev || true
# dependencies for building packages with fpm # dependencies for building packages with fpm
$sudo_command $APT install -y build-essential rpm bsdtar || true $sudo_command $APT install -y build-essential rpm bsdtar || true