Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Toolchain
sgc
Commits
0a8f02f3
Commit
0a8f02f3
authored
Oct 05, 2016
by
Philipp Nowinski
Browse files
[FEATURE] improve scss-lint installation
parent
daef771e
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/installers/ruby.sh
View file @
0a8f02f3
#!/bin/bash
echo
-e
"
\0
33[0;34mInstall scss-lint
\0
33[0m"
;
sudo
gem
install
scss_lint
if
[
!
-z
`
which nvm
`
>
/dev/null
]
then
echo
-e
"
\0
33[0;34mInstall scss-lint
\0
33[0m"
;
if
[
$OSTYPE
==
"msys"
]
then
gem
install
scss_lint
else
sudo
gem
install
scss_lint
fi
else
echo
-e
"
\n\0
33[0;31mYou need to have ruby installed on your machine in order for scss-lint to work!
\0
33[0m
\n
"
;
fi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment