Closed goshatch closed 4 years ago
This is likely related to your non-bash shell.
Will you try adding your nvm
init snippet to a .env
file in your application directory? That way, when the puma boot bash shell gets run, it'll load the node version which has yarn installed.
Let me know how that works out.
@nonrational Thank you for your response! Your hunch about the .env
file proved correct. Although adding my nvm
init snippet to it didn't work, prepending $NVM_BIN
to the PATH
env variable in the .env
did the trick.
Thanks again!
Hi @goshatch!
I ran into the same problem. Could you please explain, how you changed the .env
exactly?
Inserting PATH=$NVM_BIN:PATH
did not work for me.
Hello, I'm having an issue running a Rails 5.2.4.3 app with
puma-dev
on Linux (Arch). Please see below for the command output:Potentially relevant details:
nvm
and am currently usingv12.16.1
which I think is the current LTS.fish
.bundle exec rails s
) works fine with regards toyarn
.check_yarn_integrity: false
in my webpacker configuration, this particular error does not happen anymore and the app boots up fine.puma-dev
as a systemd service, and when I launch it manually from my app directory.Any clues as to what might be happening would be appreciated!