summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-04-02 09:30:16 -0700
committerGitHub <noreply@github.com>2021-04-02 09:30:16 -0700
commit45db8a2cf3d76dca6360334cfd87f7261a89ed4f (patch)
tree4a19f29fa3436e8f8be58c60e7a4b8e22d663415
parentf2b79514baac192ee26eb0ab0a6bef2a94196744 (diff)
parent3a86aaf7929bd69a18cdb13042fc99bb03be22d6 (diff)
downloadchef-45db8a2cf3d76dca6360334cfd87f7261a89ed4f.tar.gz
Merge pull request #11279 from chef/ruby_prof
Fix ruby-prof loading issues
-rw-r--r--omnibus/config/software/more-ruby-cleanup.rb3
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)