Closed katorres02 closed 2 years ago
@katorres02 could you test out using type
rather than which
in your PR?
@katorres02 could you test out using
type
rather thanwhich
in your PR?
@justin808 thanks for taking the time to review this pr.
in my Centos docker image the type which
command didn't work using those special quotation marks. (type is installed)
I used system("type which")
instead. it returns nil if the which_command
binary is not installed
Why should webpacker be responsible for ensuring items like which, node, and yarn are installed?
if webpacker is not responsable about that, can we consider removing the check_node
rake task?
We probably should remove everything related to the which_command
here
We probably should remove everything related to the
which_command
here
makes sense
Nice thanks @katorres02
I have a custom Centos docker image with a ruby on rails project setup. I was getting the following error during the precompile task.
bundle exec rails assets:precompile
this is the error output:
The final message indicates that Node.js is not installed which is incorrect. Node is already installed and working, the problem here is my Centos image doesn't have the "which" command activated/installed.
According to the GNU error codes: https://www.gnu.org/software/libc/manual/html_node/Error-Codes.html The error
Errno::ENOSYS
will be more accurate for this sceneario.