We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c7bfd6 commit d6bf9d1Copy full SHA for d6bf9d1
demo/config/boot.rb
@@ -1,6 +1,8 @@
1
-ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
+# Set up gems listed in the Gemfile.
2
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __dir__)
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__)
6
# Only run the following line if we bootsnap is loaded, because we don't load it for the individual tests.
7
# The individual tests are the ones in `..`.
8
# They do load this file, for reasons.
0 commit comments