Heroku wrongly detecting my Node app as a Ruby app
heroku, node.js, ruby
Solution
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`
Problem
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.json file. My problem is that Heroku believes that my project is a Ruby app, just because the Gemfile exists. And complains that I have not committed the Gemfile.lock, which I don't want to commit. ``` -----> Heroku receiving push -----> Ruby app detected ! ! Gemfile.lock is required. Please run "bundle install" locally ! and commit your Gemfile.lock. ! ! Heroku push rejected, failed to compile Ruby app ``` Is there a way to tell Heroku that the app is a Node app and not a Ruby app?