Skip to content

Instantly share code, notes, and snippets.

View gmiroshnykov's full-sized avatar

George Miroshnykov gmiroshnykov

View GitHub Profile
#!/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