Commit f16504be authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[FEATURE] drop ruby installer; no more ruby dependencies \o/

parent a1d7571c
#!/bin/bash
if [ -z `which scss-lint` > /dev/null ]
then
if [ ! -z `which ruby` > /dev/null ]
then
echo -e "\033[0;34mInstall scss-lint\033[0m";
if [ $OSTYPE == "msys" ]
then
gem install scss_lint
else
gem install scss_lint
if [ $? -ne 0 ]
then
echo -e "\033[0;34mInstallation failed, trying to install with sudo\033[0m";
sudo gem install scss_lint
fi
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
else
echo -e "\033[0;32mscss-lint already installed ✓\033[0m\n"
fi
......@@ -62,10 +62,6 @@ npm install yarn
node_modules/yarn/bin/yarn install
echo -e "\033[0;32mDependencies installed ✓\033[0m\n"
echo -e "\033[0;34mInstall ruby dependencies\033[0m";
./core/installers/ruby.sh
echo -e "\033[0;32mDependencies installed ✓\033[0m\n"
# copy config file if no present yet
if [ ! -e ../.sgc-config.json ]
then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment