heroku / jruby-getting-started

Getting Started with JRuby (Microsoft Windows) on Heroku.
https://devcenter.heroku.com/articles/getting-started-with-jruby
3 stars 16 forks source link

add package.json to root of repo #28

Closed lilacstella closed 2 months ago

lilacstella commented 2 months ago

The JRuby getting started guide fails when building with pack build and the latest heroku-24 builder. The error comes from the image being generated missing a js run time. The node js buildpack is responsible for that run time but it does not get triggered because this repo is not recognized as one that will run on node. Thus, adding a package.json, with a project name that abides by node js naming convention, signifying that this is a node package will trigger the detection.

Resolves #26