Rake task webpacker:compile
fails when which
is not installed
#3338
Labels
webpacker:compile
fails when which
is not installed
#3338
I thought I would report this here instead of shakapacker, since shakapacker hasn't been updated in more than 2 years. It appears that the yarn check depends on
which
being available on the system for the check to succeed. If it is not, thenwebpacker:compile
fails with a relatively ambiguous error of:This occurs when running ruby/rails on a docker container which does not have
which
installed by default (e.g. analmalinux
image).Ruby version: 3.0.7
Rails version: 6.1.0
Webpacker version: shakapacker-6.5.2, but this issue is still present in the most recent RC (v6.0.0.rc.6)
Expected behavior:
Webpacker compiles
Actual behavior:
Webpacker fails to compile.
Small, reproducible repo:
The text was updated successfully, but these errors were encountered: