RailsのWEBアプリで、更新の際にエラーが出てわからなくなってしまい、一度アプリを削除しました。
その後新たにこちらの記事を参考に新しくデプロイしようとしたのですが
Git push heroku master
が通りません。
Precompiling assets failed. ``` だけでなく、 ```ここに言語を入力 Please check your Rails app・・・ ``` のようなものもあったかな?となっていてもう何をすればよいのかもわかりません。 どなたか助けてください 以下エラー文 ``` >git push heroku master Enumerating objects: 458, done. Counting objects: 100% (458/458), done. Delta compression using up to 8 threads 省略 remote: Installing sass-rails 5.1.0 remote: Fetching devise 4.7.3 remote: Installing devise 4.7.3 remote: Fetching devise-i18n 1.9.2 remote: Installing devise-i18n 1.9.2 remote: Bundle complete! 26 Gemfile dependencies, 87 gems now installed. remote: Gems in the groups development and test were not installed. remote: Bundled gems are installed into `./vendor/bundle` remote: Post-install message from i18n: remote: remote: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. remote: But that may break your application. remote: remote: If you are upgrading your Rails application from an older version of Rails: remote: remote: Please check your Rails app for 'config.i18n.fallbacks = true'. remote: If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be remote: 'config.i18n.fallbacks = [I18n.default_locale]'. remote: If not, fallbacks will be broken in your app by I18n 1.1.x. remote: remote: If you are starting a NEW Rails application, you can ignore this notice. remote: remote: For more info see: remote: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 remote: remote: Post-install message from sass: remote: remote: Ruby Sass has reached end-of-life and should no longer be used. remote: remote: * If you use Sass as a command-line tool, we recommend using Dart Sass, the new remote: primary implementation: https://sass-lang.com/install remote: remote: * If you use Sass as a plug-in for a Ruby web framework, we recommend using the remote: sassc gem: https://github.com/sass/sassc-ruby#readme remote: remote: * For more details, please refer to the Sass blog: remote: https://sass-lang.com/blog/posts/7828841 remote: remote: Bundle completed (52.59s) remote: Cleaning up the bundler cache. remote: -----> Installing node-v12.16.2-linux-x64 remote: -----> Detecting rake tasks remote: -----> Preparing app for Rails asset pipeline remote: Running: rake assets:precompile remote: rake aborted! remote: You are using an old OmniAuth version, please ensure you have 1.0.0.pr2 version or later installed. remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/devise-4.7.3/lib/devise/omniauth.rb:12:in `<main>' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `block in require' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:257:in `load_dependency' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/devise-4.7.3/lib/devise.rb:443:in `omniauth' remote: /tmp/build_a7cb3f54/config/initializers/devise.rb:284:in `block in <main>' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/devise-4.7.3/lib/devise.rb:307:in `setup' remote: /tmp/build_a7cb3f54/config/initializers/devise.rb:11:in `<main>' 省略 remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.4/lib/rails/application.rb:337:in `require_environment!' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.4/lib/rails/application.rb:520:in `block in run_tasks_blocks' remote: /tmp/build_a7cb3f54/vendor/bundle/ruby/2.6.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/task.rb:61:in `block (2 levels) in define' remote: Tasks: TOP => environment remote: (See full trace by running task with --trace) remote: remote: ! remote: ! Precompiling assets failed. remote: ! remote: ! Push rejected, failed to compile Ruby app. remote: remote: ! Push failed remote: ! remote: ! ## Warning - The same version of this code has already been built: 6159f136f084e5ff7b4fcafe010960ab22e92220 remote: ! remote: ! We have detected that you have triggered a build from source code with version 6159f136f084e5ff7b4fcafe010960ab22e92220 remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch. remote: ! remote: ! If you are developing on a branch and deploying via git you must run: remote: ! remote: ! git push heroku <branchname>:main remote: ! remote: ! This article goes into details on the behavior: remote: ! https://devcenter.heroku.com/articles/duplicate-build-version remote: remote: Verifying deploy... remote: remote: ! Push rejected to teterako-production. remote: To https://git.heroku.com/teterako-production.git ! [remote rejected] master -> master (pre-receive hook declined) ```
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。