diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-13 05:19:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-13 05:19:52 +0100 |
commit | 426d7191d9301360fa82c17195092246b1eb0c45 (patch) | |
tree | 0e691dfd0d3c3df084e7861c599ece691a1f1591 | |
parent | 795bac44fd0191a7927e09337c9e13718af56dc1 (diff) |
Fix bootsnap cache directory being declared relatively (#9511)
Resolve #9490
-rw-r--r-- | config/boot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/boot.rb b/config/boot.rb index beb45a5ee..f3e36203a 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -4,7 +4,7 @@ require 'bundler/setup' # Set up gems listed in the Gemfile. require 'bootsnap' # Speed up boot time by caching expensive operations. Bootsnap.setup( - cache_dir: 'tmp/cache', + cache_dir: File.expand_path('../tmp/cache', __dir__), development_mode: ENV.fetch('RAILS_ENV', 'development') == 'development', load_path_cache: true, autoload_paths_cache: true, |