73rhodes / Sublime-JSLint

JSLint for Sublime Text 2 and 3.
80 stars 14 forks source link

Path to node not set in Mavericks #30

Closed darrenderidder closed 10 years ago

darrenderidder commented 10 years ago

On Mavericks, after installing node with the default method from nodejs.org, node lives under /usr/local/bin. This is present in the user's env, but not in the env of GUI apps launched from the finder or dock. It can be added using 'launchctl setenv PATH $PATH', or editing /etc/launchd.conf, neither of which are user-friendly. Script should detect OS and prefix /usr/local/bin to the path for the plugin to run 'out of the box' on Mavericks.

darrenderidder commented 10 years ago

Fixed by commit 2982c9f71f716ab6c689953e03fe47ca1cd1509c