Added test case of bootsnap

This commit is contained in:
Hiroshi SHIBATA 2023-12-15 13:48:10 +08:00
parent 25a133ba17
commit 9a204fb82e
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1 @@
tmp

View file

@ -0,0 +1,20 @@
require "bundler/inline"
gemfile do
source "https://rubygems.org"
gem "bootsnap", require: false
end
require 'bootsnap'
Bootsnap.setup(
cache_dir: 'tmp/cache',
ignore_directories: ['node_modules'],
development_mode: true,
load_path_cache: true,
compile_cache_iseq: true,
compile_cache_yaml: true,
compile_cache_json: true,
readonly: true,
)
require 'csv'