Skip to content

Commit

Permalink
Make the CLI respect BOOTSNAP_CACHE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Nov 6, 2020
1 parent 1aae379 commit b0e7318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bootsnap/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def match?(string)

def initialize(argv)
@argv = argv
self.cache_dir = 'tmp/cache'
self.cache_dir = ENV.fetch('BOOTSNAP_CACHE_DIR', 'tmp/cache')
self.compile_gemfile = false
self.exclude = nil
end
Expand Down

0 comments on commit b0e7318

Please sign in to comment.