Overhaul install script

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2020-02-02 20:20:32 +01:00
parent ce2413484c
commit b2e45c8af1
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
26 changed files with 692 additions and 407 deletions

21
.install/ruby.sh Normal file
View file

@ -0,0 +1,21 @@
#!/usr/bin/env bash
#
# SCRIPT NAME:
# ruby.sh
#
# AUTHOR:
# Severin Kaderli <severin@kaderli.dev>
#
# DESCRIPTION:
# Installs ruby gems
CONFIG_RUBY_GEMS=()
output::section "Ruby"
if output::prompt "Do you want to install ruby gems?"; then
output::log "Installing ${#CONFIG_RUBY_GEMS[@]} gems"
output::list ${CONFIG_RUBY_GEMS[@]}
gem install "${CONFIG_RUBY_GEMS[@]}" |& output::debug
output::success "Gems successfully installed"
fi