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.
features
1 parent 457adc5 commit 266b935Copy full SHA for 266b935
lib/bootsnap/cli.rb
@@ -64,7 +64,7 @@ def precompile_command(*sources)
64
# So we look at the gem root.
65
# Similarly, gems that include Rails engines generally file Ruby files in `app/`.
66
# However some gems embed their tests, they're very unlikely to be loaded, so not worth precompiling.
67
- gem_exclude = Regexp.union([exclude, "/spec/", "/test/"].compact)
+ gem_exclude = Regexp.union([exclude, "/spec/", "/test/", "/features/"].compact)
68
69
gem_pattern = %r{^#{Regexp.escape(Bundler.bundle_path.to_s)}/?(?:bundler/)?gems/[^/]+}
70
gem_paths = $LOAD_PATH.map { |p| p[gem_pattern] || p }.uniq
0 commit comments