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.
That's a bug in Heroku deployment configuration. It writes a file .bundle/config which has a line:
BUNDLE_DRY_RUN: false
When bundler loads this global config file, it translates this to :dry_run => "false" When it checks for this setting, it's checking settings[:dry_run], which is a string, which evaluates to true.
You can remove this line by some shell commands (heroku run bash):
mv -f .bundle/config .bundle/config.orig
sed '/BUNDLE_DRY_RUN/d' < .bundle/config.orig > .bundle/config
And then run
bundle clean