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 c13a0d0  Try to fix loadpath issue
c13a0d0 is described below

commit c13a0d00ba2378922cbf8af407de6741d3132b06
Author: Sebb <[email protected]>
AuthorDate: Wed Mar 23 14:20:33 2022 +0000

    Try to fix loadpath issue
---
 .github/workflows/unittestagenda.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/unittestagenda.yml 
b/.github/workflows/unittestagenda.yml
index a8f7fdc..63a9872 100644
--- a/.github/workflows/unittestagenda.yml
+++ b/.github/workflows/unittestagenda.yml
@@ -39,8 +39,10 @@ jobs:
         bundle install
     - name: setup agenda 2
       run: |
-        # will probably fail without sudo, but let's see if it finds wunderbar
-        ruby -I $PWD/lib -r whimsy/asf -e "ASF::LDAP.configure"
+        ruby -e '$:.each {|l| puts l}'
+        sudo ruby -e '$:.each {|l| puts l}'
+        sudo -E ruby -e '$:.each {|l| puts l}'
+        sudo -E ruby -I $PWD/lib -r whimsy/asf -e "ASF::LDAP.configure"
     - name: test agenda code
       run: |
         cd www/board/agenda

Reply via email to