diff options
author | Tony Hsu <tonyc.t.hsu@gmail.com> | 2023-02-27 13:02:23 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-03-02 14:43:27 +0000 |
commit | 5f3c7ac19674b822c72e09e40cfb58fc71ac501e (patch) | |
tree | 46c4fda0ad655ba0f7126d834cc15760b509ec8b /lib/bundler/templates | |
parent | 556439613aa6a0d05a9884a305ae43f48cd2c5f0 (diff) |
[rubygems/rubygems] Replace lockfile with `.locked`
https://github.com/rubygems/rubygems/commit/203f3e3802
Diffstat (limited to 'lib/bundler/templates')
-rw-r--r-- | lib/bundler/templates/Executable.bundler | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/templates/Executable.bundler b/lib/bundler/templates/Executable.bundler index 6dab1688f7..e290fe91eb 100644 --- a/lib/bundler/templates/Executable.bundler +++ b/lib/bundler/templates/Executable.bundler @@ -47,7 +47,7 @@ m = Module.new do def lockfile lockfile = case File.basename(gemfile) - when "gems.rb" then gemfile.sub(/\.rb$/, gemfile) + when "gems.rb" then gemfile.sub(/\.rb$/, ".locked") else "#{gemfile}.lock" end File.expand_path(lockfile) |