Skip to content

Commit 2d7b883

Browse files
Gargronhiyuki2578
authored andcommitted
Fix bootsnap cache directory being declared relatively (mastodon#9511)
Resolve mastodon#9490
1 parent 315a7d3 commit 2d7b883

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/boot.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
require 'bootsnap' # Speed up boot time by caching expensive operations.
55

66
Bootsnap.setup(
7-
cache_dir: 'tmp/cache',
7+
cache_dir: File.expand_path('../tmp/cache', __dir__),
88
development_mode: ENV.fetch('RAILS_ENV', 'development') == 'development',
99
load_path_cache: true,
1010
autoload_paths_cache: true,

0 commit comments

Comments
 (0)