Skip to content

Commit

Permalink
Merge pull request #337 from avdi/patch-2
Browse files Browse the repository at this point in the history
Document BOOTSNAP_CACHE_DIR environment variable
  • Loading branch information
rafaelfranca committed Dec 9, 2020
2 parents a2f8d03 + ec14947 commit 6d78459
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ If you are using Rails, add this to `config/boot.rb` immediately after `require
require 'bootsnap/setup'
```

Note that bootsnap writes to `tmp/cache`, and that directory *must* be writable. Rails will fail to
Note that bootsnap writes to `tmp/cache` (or the path specified by `ENV['BOOTSNAP_CACHE_DIR']`),
and that directory *must* be writable. Rails will fail to
boot if it is not. If this is unacceptable (e.g. you are running in a read-only container and
unwilling to mount in a writable tmpdir), you should remove this line or wrap it in a conditional.

Expand Down

0 comments on commit 6d78459

Please sign in to comment.