Skip to content

Commit 0fbe0fa

Browse files
authored
Merge pull request #2427 from y-yagi/fix-bundler-deprecated-method
Fix checking of method defined or not
2 parents 524aeef + d40140b commit 0fbe0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ namespace :test do
6060
end or fail 'Failures' # rubocop:disable Style/AndOr
6161
end
6262
bundler_method =
63-
if Bundler.method_defined?(:with_unbundled_env)
63+
if Bundler.respond_to?(:with_unbundled_env)
6464
:with_unbundled_env
6565
else
6666
:with_clean_env

0 commit comments

Comments
 (0)