我有一个 Node 项目,它使用 Bundler 和 Guard 来处理我的预编译步骤。这意味着我的项目根目录中有一个 Gemfile 以及 package.json 文件。
我的问题是 Heroku 认为我的项目是一个 Ruby 应用程序,只是因为 Gemfile 存在。并抱怨我没有提交我不想提交的 Gemfile.lock。
-----> 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
有没有办法告诉 Heroku 该应用程序是 Node 应用程序而不是 Ruby 应用程序?