Heroku wrongly detecting my Node app as a Ruby app

后端 未结 2 943
无人及你
无人及你 2020-12-14 11:10

I have a Node project that is using Bundler and Guard to handle my pre-compilations steps. This means that I have a Gemfile in the root of my project along with the package.

2条回答
  •  醉梦人生
    2020-12-14 11:48

    It seems there's a new way to do this as BUILDPACK_URL is now deprecated, explained here, but essentially the command is:

    $ heroku buildpacks:set heroku/nodejs

    You may also specify a buildpack during app creation:

    $ heroku create myapp --buildpack heroku/nodejs

提交回复
热议问题