Skip to content

Instantly share code, notes, and snippets.

View out-of-nice-names's full-sized avatar

Michael Mikulin out-of-nice-names

View GitHub Profile
@out-of-nice-names
out-of-nice-names / bootstrap.sh
Created November 22, 2012 14:24
basic provision for the newly-created os
#!/usr/bin/env bash
if [ -z "$RUBY_VERSION" ]; then
RUBY_VERSION='1.9.3-p327'
fi
which lsb_release > /dev/null
if [ $? -ne 0 ] || [ `lsb_release -s -i` != 'Ubuntu' ]; then
echo -e 'Sorry, this script only works in Ubuntu';
exit 1