-
Notifications
You must be signed in to change notification settings - Fork 190
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
Couldn't find Nim version #125
Comments
What happens when you execute |
Nimble actually uses findExe to find the path to the Nim executable. Try it and see what it returns. |
When I do
and it prints
the second command prints the expected output, but the first one fails with
as I remarked above. It seems that the issue is that nimble finds the correct path for the nim executable, but then tries to start nim without the full path |
This seems the issue:
Instead it should return whatever
the installation proceeds correctly |
Same thing happened when i tried to install nimble in a vagrant box ubuntu 14.04 today. Using the result of findExe("nim") instead of "nim" fixed it. |
I have installed Nim on Ubuntu 15.04 using the instructions on the Nim Github page (i.e. using Koch, and then adding
$NIMHOME/bin
to the$PATH
).I am now trying to install nimble, but when I do
nim c -r src/nimble install
, the process fails withCouldn't find Nim version.
.Apparently, the issue stems from the fact that running
osproc.execCmdEx("nim -v")
fails withI am not sure how to fix this, as the
nim
command is certainly in the$PATH
(and in factnim -v
works correctly in the same shell).The text was updated successfully, but these errors were encountered: