diff options
author | Lamont Granquist <lamont@opscode.com> | 2021-03-23 19:31:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 19:31:52 -0700 |
commit | 6115070c3096ddb2e8fafc6b94454cd5bfa21499 (patch) | |
tree | ed10d5aa9f882de386ff4e381b2eb63d2316717c | |
parent | 978eb7388b39f53fd2924280c9dd3b75c55df7fc (diff) | |
parent | a330341528b1833570656f1be9d5c565839c8f8d (diff) | |
download | chef-6115070c3096ddb2e8fafc6b94454cd5bfa21499.tar.gz |
Merge pull request #11222 from chef/lcg/fix-ruby-prof-loading
Fix ruby-prof loading issues
-rw-r--r-- | omnibus/config/software/more-ruby-cleanup.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/omnibus/config/software/more-ruby-cleanup.rb b/omnibus/config/software/more-ruby-cleanup.rb index df8bb7cb3e..39fb955486 100644 --- a/omnibus/config/software/more-ruby-cleanup.rb +++ b/omnibus/config/software/more-ruby-cleanup.rb @@ -52,7 +52,6 @@ build do diagrams example examples - ext Gemfile.lock install.rb java @@ -72,6 +71,8 @@ build do Dir.glob("#{target_dir}/*/{#{files.join(",")}}").each do |f| # chef stores the powershell dlls in the ext dir next if File.basename(File.expand_path("..", f)).start_with?("chef-") + # ruby-prof has issues/bugs with needing the so in the ext dir + next if File.basename(File.expand_path("..", f)).start_with?("ruby-prof-") puts "Deleting #{f}" FileUtils.rm_rf(f) |