node under FreeBSD which installs its binaries into
/usr/local/bin which shouldn’t be a problem however the this isn’t in the path for services started at boot.
Because node can’t be found in the PATH passenger will fail to start the app.
We fixed this by adding the following to
# Ensure /usr/local/bin is in the path ENV['PATH'] = (ENV['PATH'] || '').split(/:/).push('/usr/local/bin') * ':'
Leave a Reply
You must be logged in to post a comment.