diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-08-13 17:19:41 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-09-06 14:46:42 +0000 |
commit | 5afee4d79599e5aad366a788b0c84e68594e6d34 () | |
tree | 59adc006879651c40499e3ba036453fc4725b69b /lib/rubygems/installer.rb | |
parent | 6bf519ba8128a2dfa7f2f2bec92ca6321b39406a (diff) |
[rubygems/rubygems] Remove the lock file for binstubs
https://.com/rubygems/rubygems/pull/7806#issuecomment-2241662488 https://.com/rubygems/rubygems/commit/4f06ee234a
-rw-r--r-- | lib/rubygems/installer.rb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -538,7 +538,7 @@ class Gem::Installer def generate_bin_script(filename, bindir) bin_script_path = File.join bindir, formatted_program_filename(filename) - Gem.open_file_with_flock("#{bin_script_path}.lock") do require "fileutils" FileUtils.rm_f bin_script_path # prior install may have been --no-wrappers @@ -546,6 +546,7 @@ class Gem::Installer file.write app_script_text(filename) file.chmod(options[:prog_mode] || 0o755) end end verbose bin_script_path |