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 2ec8bd0  Try to find wunderbar
2ec8bd0 is described below

commit 2ec8bd09a7754af4c249b99b26fc4b664e39700f
Author: Sebb <s...@apache.org>
AuthorDate: Wed Mar 23 16:52:07 2022 +0000

    Try to find wunderbar
---
 .github/workflows/unittestagenda.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/unittestagenda.yml 
b/.github/workflows/unittestagenda.yml
index de73762..4362f49 100644
--- a/.github/workflows/unittestagenda.yml
+++ b/.github/workflows/unittestagenda.yml
@@ -40,14 +40,13 @@ jobs:
         bundle install
     - name: setup agenda 2
       run: |
-        ruby -e '$:.each {|l| puts l}'
+        gem which wunderbar
         echo '---------'
-        sudo ruby -e '$:.each {|l| puts l}'
-        echo '---------'
-        sudo -E ruby -e '$:.each {|l| puts l}'
+        dirname $(gem which wunderbar)
         echo '---------'
         # Fails to find wunderbar:
-        # sudo -E ruby -I $PWD/lib -r whimsy/asf -e "ASF::LDAP.configure"
+        sudo -E ruby -I $PWD/lib -I$(dirname $(gem which wunderbar)) -r 
whimsy/asf -e "ASF::LDAP.configure"
+        echo '---------'
         # try this instead
         sudo ruby $PWD/lib/whimsy/asf/ldap_setup.rb
     - name: test agenda code

Reply via email to