-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scss-lint fails #196
Comments
are you using version manager like rvm or chruby? |
I do use chruby. On Tue, Dec 30, 2014, 5:09 PM Michal Papis [email protected] wrote:
|
@postmodern / @havenwood given https://github.com/jish/pre-commit/blob/master/templates/hooks/automatic I assume the command would be ~ btw. if there is more to do to support |
As @mpapis informed me, the command is being ran in a plain shell from git? As long as |
as discussed in irc |
Or since git does not preserve the current shell environment, maybe install scss-lint globally under system ruby? |
what would be the flow for chruby to do that? |
|
assuming there was a system ruby, this is complicated, is there a "default" ruby in chruby like it is in RVM? |
The default ruby is system ruby. You can configure a default ruby via the shell configuration or via |
this sounds like nightmare, maybe we could promote an description/wiki that shows what to do, maybe selecting one ruby and setting it in |
It is not a nightmare to install a gem globally. system ruby exists for a reason. Don't fear the system ruby, don't fear your own system. |
assuming there is a system ruby, I know it's really common this days, but still not a base requirement for a linux system |
Any time I commit a scss file, pre-commit fails with this error:
I am using pre-commit with a YAML configuration file like this:
The text was updated successfully, but these errors were encountered: