Skip to content

Commit d6bf9d1

Browse files
committed
Tweaks to demo/config/boot.rb after rebase
1 parent 1c7bfd6 commit d6bf9d1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

demo/config/boot.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
1+
# Set up gems listed in the Gemfile.
2+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __dir__)
23

3-
require "bundler/setup" # Set up gems listed in the Gemfile.
4+
require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
5+
$LOAD_PATH.unshift File.expand_path("../../lib", __dir__)
46
# Only run the following line if we bootsnap is loaded, because we don't load it for the individual tests.
57
# The individual tests are the ones in `..`.
68
# They do load this file, for reasons.

0 commit comments

Comments
 (0)