railsアプリをherokuへデプロイしたいのですが、失敗してしまします。
bundle installしても失敗してしまいます。
以下、デプロイ時吐き出されたエラー文です
-----> Building on the Heroku-18 stack
-----> Determining which buildpack to use for this app
! Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
Detected buildpacks: Ruby,Node.js
See https://devcenter.heroku.com/articles/buildpacks#buildpack-detect-order
-----> Ruby app detected
-----> Installing bundler 2.2.33
-----> Removing BUNDLED WITH version in the Gemfile.lock
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.6.5
-----> Installing dependencies using bundler 2.2.33
Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4
You are trying to install in deployment mode after changing
your Gemfile. Run bundle install
elsewhere and add the
updated Gemfile.lock to version control.
If this is a development machine, remove the /tmp/build_d452a0b4/Gemfile freeze by running ``. The lockfile does not have all gems needed for the current platform Bundler Output: You are trying to install in deployment mode after changing your Gemfile. Run `bundle install` elsewhere and add the updated Gemfile.lock to version control. If this is a development machine, remove the /tmp/build_d452a0b4/Gemfile freeze by running ``. The lockfile does not have all gems needed for the current platform
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app.
! Push failed
ご教授願います。
あなたの回答
tips
プレビュー