From bfcabd627d7d407a1b5c40d144c7e316d81f9d3b Mon Sep 17 00:00:00 2001 From: schneems Date: Tue, 10 Sep 2019 15:00:36 -0500 Subject: [PATCH] Changelog for #914 --- CHANGELOG.md | 2 ++ changelogs/master/clean_binstubs.md | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 changelogs/master/clean_binstubs.md diff --git a/CHANGELOG.md b/CHANGELOG.md index cf2f361ec..4bd81b08f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## Master +* Ensure that old binstubs are removed before new ones are generated (https://github.com/heroku/heroku-buildpack-ruby/pull/914) + ## v203 (8/20/2019) * Make sure Rails 6 apps have a `tmp/pids` folder so they can boot (https://github.com/heroku/heroku-buildpack-ruby/pull/909) diff --git a/changelogs/master/clean_binstubs.md b/changelogs/master/clean_binstubs.md new file mode 100644 index 000000000..6c7c3c9cf --- /dev/null +++ b/changelogs/master/clean_binstubs.md @@ -0,0 +1,5 @@ +## Ruby buildpack now cleans unused binstubs before install + +After a Ruby application's dependencies have been installed via `bundle install` the old dependencies are cleaned up by running `bundle clean`. Recently it was discovered that this does not clean up unused binstubs. To correct this problem the Ruby buildpack now manually cleans up generated binstubs in `vendor/bundler/bin`. Then when `bundle install` is executed, only currently used binstubs will be generated. + +[Buildpack PR](https://github.com/heroku/heroku-buildpack-ruby/pull/914) and [Heroku Ruby support](https://devcenter.heroku.com/articles/ruby-support). \ No newline at end of file