Sha256: 1f8b57715770af58682686b4b674fa5c6d0c40d438644d383c61b63f352d23ff

Contents?: true

Size: 358 Bytes

Versions: 29

Compression:

Stored size: 358 Bytes

Contents

#! /bin/bash
#
# bootstrap.sh
# Copyright (C) 2014 josh <josh@ubuntu>
#
# Distributed under terms of the MIT license.
#

ensure_installed() {
	type $1 >/dev/null 2>&1 || { echo >&2 "$1 is required to use shaddox. Please install it manually."; exit 1;  }
}

ensure_installed(ruby)
ensure_installed(gem)

if ! gem list shaddox -i; then
	gem install shaddox
fi

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
shaddox-0.0.10 scripts/bootstrap.sh
shaddox-0.0.9 scripts/bootstrap.sh
shaddox-0.0.8 scripts/bootstrap.sh
shaddox-0.0.7 scripts/bootstrap.sh
shaddox-0.0.6 scripts/bootstrap.sh
shaddox-0.0.5 scripts/bootstrap.sh
shaddox-0.0.4 scripts/bootstrap.sh
shaddox-0.0.3 scripts/bootstrap.sh
shaddox-0.0.2 scripts/bootstrap.sh