heroku-buildpack-ruby: Bundle install gives `Errno::EROFS: Read-only file system @ dir_s_mkdir`
Now that we are using the new Bundler 2.1.4 support released today, we are seeing the following issue:
-----> Installing dependencies using bundler 2.1.4
Running: BUNDLE_WITHOUT=development:test BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4
There was an error accessing `/home/rof/cache/bundler/ruby/2.7.0`.
The underlying system error is Errno::EROFS: Read-only file system @ dir_s_mkdir
- /home
Bundler Output: There was an error accessing `/home/rof/cache/bundler/ruby/2.7.0`.
The underlying system error is Errno::EROFS: Read-only file system @ dir_s_mkdir
- /home
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app.
! Push failed
Build failed
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 19 (5 by maintainers)
Awesome. Thanks!
This issue is coming from CodeShip. They’re sending over a
.bundle/configwith some values in it that appear to take precedence over the env vars that we’re now using see https://devcenter.heroku.com/changelog-items/1930..bundle/configfile before deploy.bundle/configfile before attempting to deploy to Heroku.