aboutsummaryrefslogtreecommitdiffstats
path: root/actiontext/test/dummy/config/boot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actiontext/test/dummy/config/boot.rb')
-rw-r--r--actiontext/test/dummy/config/boot.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/actiontext/test/dummy/config/boot.rb b/actiontext/test/dummy/config/boot.rb
new file mode 100644
index 0000000000..c9aef85d40
--- /dev/null
+++ b/actiontext/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__)