Skip to content

Commit

Permalink
Merge pull request #2427 from y-yagi/fix-bundler-deprecated-method
Browse files Browse the repository at this point in the history
Fix checking of method defined or not
  • Loading branch information
wasifhossain authored Mar 3, 2022
2 parents 524aeef + d40140b commit 0fbe0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace :test do
end or fail 'Failures' # rubocop:disable Style/AndOr
end
bundler_method =
if Bundler.method_defined?(:with_unbundled_env)
if Bundler.respond_to?(:with_unbundled_env)
:with_unbundled_env
else
:with_clean_env
Expand Down

0 comments on commit 0fbe0fa

Please sign in to comment.