aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/dummy/config/boot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activestorage/test/dummy/config/boot.rb')
-rw-r--r--activestorage/test/dummy/config/boot.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activestorage/test/dummy/config/boot.rb b/activestorage/test/dummy/config/boot.rb
new file mode 100644
index 0000000000..116591a4ed
--- /dev/null
+++ b/activestorage/test/dummy/config/boot.rb
@@ -0,0 +1,5 @@
+# Set up gems listed in the Gemfile.
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../../Gemfile", __dir__)
+
+require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
+$LOAD_PATH.unshift File.expand_path("../../../lib", __dir__)