Skip to content

Commit

Permalink
Use default bootsnap/setup in boot.rb (mastodon#25502)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjankowski authored Jun 22, 2023
1 parent a8c1c8b commit c9cd634
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions config/boot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,4 @@
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)

require 'bundler/setup' # Set up gems listed in the Gemfile.
require 'bootsnap' # Speed up boot time by caching expensive operations.

Bootsnap.setup(
cache_dir: File.expand_path('../tmp/cache', __dir__),
development_mode: ENV.fetch('RAILS_ENV', 'development') == 'development',
load_path_cache: true,
compile_cache_iseq: false,
compile_cache_yaml: false
)
require 'bootsnap/setup' # Speed up boot time by caching expensive operations.

0 comments on commit c9cd634

Please sign in to comment.