I've suddenly started getting slug size errors on deploy:
-----> Compiled slug size: 350.4MB is too large (max is 300MB).
My app is far too small to be causing this, verified by manually inspecting bundle and assets size. Upon investigation in a one-off dyno, I discovered that files installed by the R buildpack are still in vendor/ even though I stopped using the buildpack months ago and unset BUILDPACK_URL
:
~/vendor $ du -h --max-depth 1
90M ./ruby-2.0.0
28K ./plugins
24K ./heroku
122M ./bundle
113M ./glibc-2.7
16M ./bin
95M ./gcc-4.3
36M ./ruby-1.9.3
104K ./assets
87M ./R
1.2M ./gems
450M ./libexec
108K ./redis-rb
1008M .
Deleting them in a one-off dyno doesn't do it; they reappear in a new one.
How can I make these directories, like R/
and gcc-4.3/
permanently go away?