From 6cc5bb74962bc797b3bba08f5450f7e7a981c6b7 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 19 Mar 2021 19:18:16 -0700 Subject: include gemfiles for gems necessary for appbundler to use them as gems Signed-off-by: Lamont Granquist --- omnibus/config/software/more-ruby-cleanup.rb | 1 - post-bundle-install.rb | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/omnibus/config/software/more-ruby-cleanup.rb b/omnibus/config/software/more-ruby-cleanup.rb index d7c3b6000f..df8bb7cb3e 100644 --- a/omnibus/config/software/more-ruby-cleanup.rb +++ b/omnibus/config/software/more-ruby-cleanup.rb @@ -82,7 +82,6 @@ build do # find the embedded ruby gems dir and clean it up for globbing target_dir = "#{install_dir}/embedded/lib/ruby/gems/*/gems".tr('\\', "/") files = %w{ - *.gemspec Gemfile Rakefile tasks diff --git a/post-bundle-install.rb b/post-bundle-install.rb index f0db5d50b0..d9d4b55024 100644 --- a/post-bundle-install.rb +++ b/post-bundle-install.rb @@ -15,6 +15,8 @@ Dir["#{gem_home}/bundler/gems/*"].each do |gempath| gem_name = matches[1] next unless gem_name + system "ls -laR #{gempath}" + puts "re-installing #{gem_name}..." # we can't use "commmand" or "bundle" or "gem" DSL methods here since those are lazy and we need to run commands immediately -- cgit v1.2.1