Open kirylrb opened 6 years ago
@kruszczynski @guilhermesimoes @mskrajnowski @karwer @thegeorgeous Any help, please?
I haven't used the extension in a while now but it seems like:
"args": ["-c", "~/.rbenv/shims/rbenv"],
should be more like
"args": ["-c", "~/.rbenv/shims/reek"],
Let me know if it works!
@kruszczynski
SublimeLinter: WARNING: reek output:
Error: We found some problems with your configuration file: [/] 'set -e [ -n "$RBENV_DEBUG" ] && set -x\nprogram="${0##*/}" if [ "$program" = "ruby" ]; then for arg; do case "$arg" in -e* | -- ) break ;; */* ) if [ -f "$arg" ]; then export RBENV_DIR="${arg%/*}" break fi ;; esac done fi\nexport RBENV_ROOT="/Users/kiryl/.rbenv" exec "/usr/local/Cellar/rbenv/1.1.1/libexec/rbenv" exec "$program" "$@"': not a mapping.
Now I got an error with such configuration:
// SublimeLinter Settings - User
{
"linters": {
"reek": {
"@disable": false,
"args": ["-c", "~/.rbenv/shims/reek"],
"ENV": "~/.rbenv/shims",
"excludes": []
}
},
"paths": {
"osx": [
"~/.rbenv/shims"
]
}
}
@kruszczynski Could you comment this settings? Something wrong unfortunately
@kirylpl I don't know, sorry, looks to me like an issue with your Ruby installation
Please help to setup plugin, documenttion of Sublime Linter is not obvious.
Sublime Linter settings:
And that's not working. Any help, please?