aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rodriguez <deivid.rodriguez@riseup.net>2021-10-18 18:55:04 +0200
committergit <svn-admin@ruby-lang.org>2024-06-06 18:44:42 +0000
commitb5a7f639615040bffde581a26ddabf80890a3493 (patch)
tree55e0a82d67432f8bb116f290c8c7ebf7b159de0c
parentb5949ad62a1bd2f3caee79ad2b4dbbb4d37d1092 (diff)
downloadruby-b5a7f639615040bffde581a26ddabf80890a3493.tar.gz
[rubygems/rubygems] Respect `GEM_COMMAND` in non ruby-core mode
Not that I need it, but reads better. https://github.com/rubygems/rubygems/commit/db3eca7b92
-rw-r--r--spec/bundler/support/path.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb
index 3ef677d6de..8d1bac5e03 100644
--- a/spec/bundler/support/path.rb
+++ b/spec/bundler/support/path.rb
@@ -58,7 +58,7 @@ module Spec
end
def gem_bin
- @gem_bin ||= ruby_core? ? ENV["GEM_COMMAND"] : "gem"
+ @gem_bin ||= ENV["GEM_COMMAND"] || "gem"
end
def path