diff options
-rw-r--r-- | omnibus/config/software/more-ruby-cleanup.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/omnibus/config/software/more-ruby-cleanup.rb b/omnibus/config/software/more-ruby-cleanup.rb index ab399b8671..ba3c0d3fd4 100644 --- a/omnibus/config/software/more-ruby-cleanup.rb +++ b/omnibus/config/software/more-ruby-cleanup.rb @@ -82,8 +82,8 @@ build do block "Removing VERSION files from installed gems" do # find the embedded ruby gems dir and clean it up for globbing Dir.glob("#{install_dir}/embedded/lib/ruby/gems/*/gems/*/VERSION".tr("\\", "/")).each do |f| - # we need to not delete the aws SDK VERSION file - next if File.basename(File.expand_path("..", f)).start_with?("aws") + # we need to not delete the aws SDK VERSION file or jmespath's VERSION file + next if File.basename(File.expand_path("..", f)).start_with?("aws", "jmespath") puts "Deleting #{f}" FileUtils.rm_rf(f) |