build: Add rubygems to make deps target

cffdb06 adds a linter for markdown which requires rubygems.
This commit adds the dependency to the make target.
This commit is contained in:
Jonathan Gold
2018-10-30 15:43:53 -04:00
parent f342e06ef0
commit 43b5b4f5a4

View File

@@ -31,11 +31,13 @@ fi
if [ ! -z "$YUM" ]; then if [ ! -z "$YUM" ]; then
$sudo_command $YUM install -y libvirt-devel $sudo_command $YUM install -y libvirt-devel
$sudo_command $YUM install -y augeas-devel $sudo_command $YUM install -y augeas-devel
$sudo_command $YUM install -y rubygems
$sudo_command $YUM install -y time $sudo_command $YUM install -y time
fi 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 rubygems || true
$sudo_command $APT install -y libpcap0.8-dev || true $sudo_command $APT install -y libpcap0.8-dev || true
# dependencies for building debian packages with `make deb` # dependencies for building debian packages with `make deb`
$sudo_command $APT install -y dpkg-dev devscripts debhelper dh-golang dh-systemd $sudo_command $APT install -y dpkg-dev devscripts debhelper dh-golang dh-systemd
@@ -52,7 +54,7 @@ if [ ! -z "$BREW" ]; then
fi fi
if [ ! -z "$PACMAN" ]; then if [ ! -z "$PACMAN" ]; then
$sudo_command $PACMAN -S --noconfirm --asdeps --needed libvirt augeas libpcap $sudo_command $PACMAN -S --noconfirm --asdeps --needed libvirt augeas rubygems libpcap
fi fi
if [ $travis -eq 0 ]; then if [ $travis -eq 0 ]; then