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.
1 parent c855522 commit 9bd2ed8Copy full SHA for 9bd2ed8
ruby/private/binary_wrapper.tpl
100644
100755
@@ -119,8 +119,8 @@ def main(args)
119
runfiles_envkey, runfiles_envvalue = runfiles_envvar(runfiles)
120
ENV[runfiles_envkey] = runfiles_envvalue if runfiles_envkey
121
122
- ENV["GEM_PATH"] = File.join(runfiles, "{gem_path}") if "{gem_path}"
123
- ENV["GEM_HOME"] = File.join(runfiles, "{gem_path}") if "{gem_path}"
+ ENV["GEM_PATH"] = File.join(runfiles, "{gem_path}") if !"{gem_path}".empty?
+ ENV["GEM_HOME"] = File.join(runfiles, "{gem_path}") if !"{gem_path}".empty?
124
125
ruby_program = find_ruby_binary
126
0 commit comments