diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-03-23 19:30:30 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-03-23 19:30:30 -0700 |
commit | a330341528b1833570656f1be9d5c565839c8f8d (patch) | |
tree | 69bb1723258516b0deb6298d135ad1f61d7a86ba | |
parent | b53765e22f17cd7dca9bab28b3e93c9288f0ab61 (diff) | |
download | chef-a330341528b1833570656f1be9d5c565839c8f8d.tar.gz |
Fix ruby-prof loading issues
See:
https://github.com/ruby-prof/ruby-prof/pull/300
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-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) |