Necessary to provide a single source of truth for installing Ruby dependencies. This used to be managed by the Ruby Setup project but that project is being deprecated in favor of this project.
18 lines
318 B
Bash
Executable File
18 lines
318 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
# Installs Ruby gems.
|
|
|
|
set -o nounset
|
|
set -o errexit
|
|
set -o pipefail
|
|
IFS=$'\n\t'
|
|
|
|
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_ruby_gems"
|
|
|
|
if [[ -x "$SCRIPT_PATH" ]]; then
|
|
install_ruby
|
|
"$SCRIPT_PATH"
|
|
else
|
|
printf "WARNING: Ruby gems install script does not exist or is not executable.\n"
|
|
fi
|