Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

theme-check error while executing on Windows 10 #371

Closed
m-atek opened this issue Jul 16, 2021 · 2 comments · Fixed by #400
Closed

theme-check error while executing on Windows 10 #371

m-atek opened this issue Jul 16, 2021 · 2 comments · Fixed by #400
Labels
bug Something isn't working e:2 Effort: 2 p:high Priority (or Impact): High

Comments

@m-atek
Copy link

m-atek commented Jul 16, 2021

Hi, I have an issue running theme-check on Windows 10. I get multiple lines like this one:

#!C:/Ruby30-x64/bin/ruby.exe '#!C:' is not recognized as an internal or external command, operable program or batch file.

I have C:/Ruby30-x64/bin directory in my PATH. I could not find solution online.

Thanks in advance.

@charlespwd charlespwd added the bug Something isn't working label Aug 10, 2021
@charlespwd charlespwd added e:2 Effort: 2 p:high Priority (or Impact): High labels Aug 10, 2021
@ADTC
Copy link

ADTC commented Aug 16, 2021

For some reason, the .bat files are copies of the shell scripts, and then there are .bat.bat files which are the actual batch files.

image

If you want to fix this in your local installation, delete the bad .bat files and rename the good .bat.bat files to .bat:

image

@charlespwd
Copy link
Contributor

For some reason, the .bat files are copies of the shell scripts, and then there are .bat.bat files which are the actual batch files.

image

I'll have to look into this. Looks like our gemspec is doing funky stuff.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working e:2 Effort: 2 p:high Priority (or Impact): High
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants