Script / generate on Windows: 'script' is not recognized as an internal or external command

Whenever I try to use the Rails command script/generateor script/install, I get this error:

C:\workspace>script/generate bigcommand
'script' is not recognized as an internal or external command,
operable program or batch file.

Any idea why?

+3
source share
1 answer

in windows, you probably need to call it like this: "ruby script \ generate ..."

+11
source

Source: https://habr.com/ru/post/1718747/


All Articles