Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

[Bug] chocolatey.bat can't find chocolatey.cmd #152

Closed
mdirik opened this issue Sep 13, 2012 · 7 comments
Closed

[Bug] chocolatey.bat can't find chocolatey.cmd #152

mdirik opened this issue Sep 13, 2012 · 7 comments

Comments

@mdirik
Copy link

mdirik commented Sep 13, 2012

Hi,
I've installed chocolatey via the easy install command from chocolatey.org.

Chocolatey is installed into C:\Chocolatey, and C:\Chocolatey\bin is on %path%.

When i run chocolatey.bat:

C:\Users\mdirik>chocolatey.bat
The system cannot find the path specified.

When I remove @echo off from chocolatey.bat:

C:\Users\mdirik>chocolatey.bat

C:\Users\mdirik>SET DIR=C:\Chocolatey\bin\

C:\Users\mdirik>"C:\Chocolatey\bin\..\chocolatey?nstall\chocolatey.cmd"
The system cannot find the path specified.

It works OK when i change "%DIR%..\chocolatey?nstall\chocolatey.cmd" %* line to "%DIR%..\chocolateyInstall\chocolatey.cmd" %*

Same with both powershell and cmd.

I'm on a Windows 7 x64, Turkish locale.

@ferventcoder
Copy link
Contributor

It's the capital "I". I thought I had fixed all of those.

@ghost ghost assigned ferventcoder Sep 13, 2012
@ferventcoder
Copy link
Contributor

First fix in 556024f

@mdirik
Copy link
Author

mdirik commented Jan 17, 2013

Hi,
I'm working on fixing all the I-İ related bugs. Do you have any advice regarding it? Currently I'm blindly changing all capital I's to little i's when i think it's a file name.

@ferventcoder ferventcoder reopened this Jan 17, 2013
@ferventcoder
Copy link
Contributor

Are you still finding issues?

@mdirik
Copy link
Author

mdirik commented Jan 17, 2013

On 17 Ocak 2013 Perşembe 21:56:17, Rob Reynolds wrote:

Are you still finding issues?


Reply to this email directly or view it on GitHub
#152 (comment).

even the install command didn't worked when i last tried few months
ago, and i didn't try any other scenario. so i thought it may be a
better idea to go through it rather than dealing case by case.

edit: ok. i guess there was still pieces from old install which ruined the execution. i've uninstalled it and installed again with build.cmd and it works OK as far as i can see. i will still look if there is anything left, though (to be precise, there are still some I's but i don't know if they cause bugs.)

@mdirik
Copy link
Author

mdirik commented Jan 17, 2013

build.cmd installs chocolatey from the internet as far as i understand, how can i install and run tests from the git repository?

@ferventcoder
Copy link
Contributor

I symlink or just run the tests as part of the build. You will need pester installed.

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

No branches or pull requests

2 participants