a few days ago I started to see
Would have removed best_in_place (2.0.2)
Would have removed thor (0.16.0)
in my heroku deploy output.
@Roman explication is correct.
If you have a custom buildpack (or you can easily fork it ans use it) it can be fixed in one line
https://github.com/heroku/heroku-buildpack-ruby/blob/master/lib/language_pack/ruby.rb
line 408-409 from
puts "Cleaning up the bundler cache."
pipe "bundle clean"
to
puts "Cleaning up the bundler cache."
pipe "bundle config --delete dry_run"
pipe "bundle clean"
bundle config --delete remove the config (note the underscore) and, by default dry-run
is false.