diff options
-rwxr-xr-x | tool/outdate-bundled-gems.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/outdate-bundled-gems.rb b/tool/outdate-bundled-gems.rb index 10c182d837..3c519cc461 100755 --- a/tool/outdate-bundled-gems.rb +++ b/tool/outdate-bundled-gems.rb @@ -111,7 +111,7 @@ end version = RbConfig::CONFIG['ruby_version'] curdir.glob(".bundle/{extensions,.timestamp}/#{platform}/*/") do |dir| - unless File.basename(dir) == version + unless File.basename(dir).start_with?(version) curdir.rmdir(dir) end end |