View categories
Nodejs will now be installed for Ruby applications that have a `package.json` file
Change effective on 27 October 2021
Ruby applications using the heroku/ruby
buildpack now receive a default version of node
installed if they have a package.json
file in the root directory of their application.
Prior to this change, only applications using the webpacker
or execjs
gem would trigger node installation logic. This change is intended to facilitate Rails 7 applications using jsbundling-rails
without webpacker
.
Note Applications using the
heroku/nodejs
buildpack before theheroku/ruby
buildpack will not see a change in behavior
For more information, see Heroku Ruby support documentation.