Skip to content
Snippets Groups Projects
Unverified Commit 426d7191 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix bootsnap cache directory being declared relatively (#9511)

Resolve #9490
parent 795bac44
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment