Skip to content

Commit 1c7bfd6

Browse files
committed
Demo app use demo Gemfile
1 parent 9ca8944 commit 1c7bfd6

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.yarnrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# yarn lockfile v1
33

44

5-
lastUpdateCheck 1762552807228
5+
lastUpdateCheck 1763256402231

demo/config/boot.rb

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

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

test/test_helper.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
Warning.ignore(:not_reached, mail_gem_path)
1010
Warning.ignore(/warning: assigned but unused variable - testEof/, mail_gem_path)
1111

12-
require "diffy"
13-
require "nokogiri"
14-
require "equivalent-xml"
15-
1612
require_relative "../demo/config/environment"
1713
require "rails/test_help"
1814
require "mocha/minitest"

0 commit comments

Comments
 (0)