Skip to content
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

Rubocop-daemon stalls on macOS when Homebrew netcat is installed #18

Open
nc-srstkac opened this issue Jan 20, 2020 · 1 comment
Open

Comments

@nc-srstkac
Copy link

The rubocop-daemon script is currently setting $NETCAT_CMD to nc on macOS. When netcat from Homebrew is installed, and the $PATH is set up such that /usr/local/bin comes before /usr/bin, rubocop-daemon hangs while trying to run /usr/local/bin/nc.

If we hard-coded $NETCAT_CMD to /usr/bin/nc on macOS, this would probably be fixed.

@adipasquale
Copy link

thanks for the fix, I've submitted a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants