https://github.com/zunda/mastodon/pull/34 なんかHerokuだとアナにやられてた。ローカルだと走るのにねえ。
-----> Detecting rake tasks
!
! Could not detect rake tasks
! ensure you can run `$ bundle exec rake -P` against your app
! and using the production group of your Gemfile.
:
! rake aborted!
! Bundler::GemRequireError: There was an error while trying to load the gem 'health_check'.
! Gem Load Error is: can't modify frozen String: "cannot load such file -- health_check/health_check_helper.rb"
! Backtrace for gem load error is:
! /tmp/build_54a062ba2665feb05f96ceedc75fb460/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:337:in `replace'
:
Gemfile.lockにも入ってるから入れてくれるはずよねえ。デプロイをやりなおしてみよう。
$ git grep health_check
Gemfile:gem 'health_check', git: 'https://github.com/ianheggie/health_check', ref: '0b799ead604f900ed50685e9b2d469cd2befba5b'
Gemfile.lock: remote: https://github.com/ianheggie/health_check
Gemfile.lock: health_check (4.0.0.pre)
Gemfile.lock: health_check!