ruby.sh 318 Bytes
Newer Older
1
2
#!/bin/bash

3
4
5
6
7
8
9
10
11
12
13
14
15
if [ ! -z `which nvm` > /dev/null ]
then
	echo -e "\033[0;34mInstall scss-lint\033[0m";
	if [ $OSTYPE == "msys" ]
	then
		gem install scss_lint
	else
		sudo gem install scss_lint
	fi
else
	echo -e "\n\033[0;31mYou need to have ruby installed on your machine in order for scss-lint to work!\033[0m\n";
fi