From ceeac9a94d0856fcb3ee844455909ce27208957b Mon Sep 17 00:00:00 2001 From: MOHANKUMAR T <31698165+mohan-13@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:40:38 +0530 Subject: [PATCH] Upgrade Ruby Version to 3.1 (#86) * Bump up Ruby version to 3.3 * Fix. Feature branch name for workflow * Revert. Downgrade to 2.5 * Fix. Install specific version of ffi * Try Ruby 3.1 * Refactor. Remove feature branch * Update README --- .github/workflows/build_publish_openelis.yml | 6 +++--- README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_publish_openelis.yml b/.github/workflows/build_publish_openelis.yml index 6d1a8a06..fddfdb71 100644 --- a/.github/workflows/build_publish_openelis.yml +++ b/.github/workflows/build_publish_openelis.yml @@ -26,12 +26,12 @@ jobs: with: distribution: 'zulu' java-version: '7' - - name: Setup Ruby 2.5 + - name: Setup Ruby 3.1 uses: ruby/setup-ruby@v1 with: - ruby-version: 2.5 + ruby-version: 3.1 - name: Install Compass - run: gem install compass + run: gem install ffi -v 1.17.0 && gem install compass - name: Install Ant 1.9 run: | mkdir /tmp/ant diff --git a/README.md b/README.md index 1639db3a..caa137b8 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ forked from OpenElis_v3.1_r2013_02_21 branch in svn *Requirements to build OpeneLIS* * `java` version <= "1.7" * `ant` version <= "1.9.1" -* `ruby` version <= "2.2" and `gem install compass` +* `ruby` version == "3.1" and `gem install compass` *To build OpenElis run* * `ant dist` Creates OpenELIS War