Skip to content

Commit

Permalink
Remove find require from gemfile as this doesn't get loaded in bundle…
Browse files Browse the repository at this point in the history
…r v1
  • Loading branch information
feelepxyz committed Mar 5, 2021
1 parent d38670d commit 5b0a34b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
9 changes: 0 additions & 9 deletions bundler/helpers/v1/Gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
# frozen_string_literal: true

# TODO: Look into removing this. "find" used to get required from common's
# gemspec so we've added it here for backwards compatability during bundler 2
# rollout.
#
# NOTE: If we don't require it and a customers `.gemspec` uses Find without
# requiring it, we'll start raising a DependencyFileNotEvaluatable error which
# is probably the right thing to do
require "find"

source "https://rubygems.org"

# NOTE: This is intentionally left blank as it's currently only used to force
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require "find"

lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "example/version"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require "find"

lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "example/version"
Expand Down

0 comments on commit 5b0a34b

Please sign in to comment.