Skip to content

Conversation

larskanis
Copy link

command is a unix shell builtin command which is not available on Windows, even in a MSYS2 enabled environment. This is because ruby runs the string passed to Kernel.system in a cmd shell, which doesn't know this command. But where is a proper replacement on Windows.

With this change cssbundling-rails works out of the box on Windows with the Rubyinstaller and with yarn installed per pacman. And the unique feature is the unrivaled slowness that Windows offers even on fast hardware!

`command` is a unix shell builtin command which is not available on Windows, even in a MSYS2 enabled environment.
This is because ruby runs the string passed to `Kernel.system` in a `cmd` shell, which doesn't know this command.
But `where` is a proper replacement on Windows.
@larskanis
Copy link
Author

Looks like #176 is exactly the same solution.

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

Successfully merging this pull request may close these issues.

1 participant