This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new b85eee84 ldapversion must be defined for initial run
b85eee84 is described below

commit b85eee8441c89b61c8aa7b55dfdbb4a537452019
Author: Sebb <[email protected]>
AuthorDate: Fri Jul 5 00:27:18 2024 +0100

    ldapversion must be defined for initial run
---
 Rakefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Rakefile b/Rakefile
index 659765f8..5e44b811 100644
--- a/Rakefile
+++ b/Rakefile
@@ -71,10 +71,13 @@ task :update, [:command] do |_task, args|
       Dir.chdir dir do
         contents = [
           "source 'https://rubygems.org'",
+          "ldapversion = nil", # Needed for initial gem setup
           gems.values
         ].join("\n")
         File.write "Gemfile", contents
+        puts "* Preloading gems..."
         system!('bundle', 'install') or raise "Bundler failed"
+        puts "* ... done"
       end
     end
   end
@@ -93,6 +96,7 @@ task :update, [:command] do |_task, args|
       locktime = File.mtime('Gemfile.lock') rescue Time.at(0)
 
       bundler = 'bundle' unless File.exist?(bundler)
+      puts "* Processing #{gemfile}"
       system!(bundler, args.command || 'update') or raise "Bundler failed"
 
       # if new gems were installed and this directory contains a passenger

Reply via email to