Vale icon indicating copy to clipboard operation
Vale copied to clipboard

realpath fails on osx when valec is added to $PATH

Open izackp opened this issue 3 years ago • 2 comments

MacOS 12.3 MacBook Pro (13-inch, M1, 2020)

Vale 0.2 downloaded from Releases for OSX

% valec
resolve: Realpath failed for input "valec": No such file or directory

however this works fine:

% ./path/valec 
Must specify a command (build or help).
(panic)

izackp avatar Jun 22 '22 16:06 izackp

Thanks for the report! I just repro'd this, it seems I broke the ability to add valec to the PATH env variable. I should also add a test to ensure this doesn't break again.

Verdagon avatar Jun 22 '22 22:06 Verdagon

Probably related to this issue, valec help and valec version shows nothing on my mac. Probably compiler_dir not properly detected...

(macOS 12.6.1, MacBook Air (M1, 2020))

funatsufumiya avatar Dec 27 '22 04:12 funatsufumiya