summaryrefslogtreecommitdiffhomepage
path: root/config/boot.rb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2020-12-02 19:26:28 -0500
committerrealtradam <[email protected]>2020-12-02 19:26:28 -0500
commitd13b636bd654244f894943c2968a7386e8379605 (patch)
tree410809bae61eac943e1af19ecfd2c2f31143c796 /config/boot.rb
downloadrails-tree-style-activerecord-d13b636bd654244f894943c2968a7386e8379605.tar.gz
rails-tree-style-activerecord-d13b636bd654244f894943c2968a7386e8379605.zip
initial
Diffstat (limited to 'config/boot.rb')
-rw-r--r--config/boot.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/boot.rb b/config/boot.rb
new file mode 100644
index 0000000..b9e460c
--- /dev/null
+++ b/config/boot.rb
@@ -0,0 +1,4 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
+require 'bootsnap/setup' # Speed up boot time by caching expensive operations.