This is an automated email from the ASF dual-hosted git repository.
tjwp pushed a commit to branch branch-1.11
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/branch-1.11 by this push:
new 5d940daac AVRO-3697: [ruby] Test against Ruby 3.2 (#2041)
5d940daac is described below
commit 5d940daac93c74991a0875f25734644a90d076a6
Author: Tim Perkins <[email protected]>
AuthorDate: Sat Dec 31 10:13:41 2022 -0500
AVRO-3697: [ruby] Test against Ruby 3.2 (#2041)
---
.github/workflows/test-lang-ruby.yml | 6 ++++--
lang/ruby/build.sh | 5 -----
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/test-lang-ruby.yml
b/.github/workflows/test-lang-ruby.yml
index b846781ea..f83a68caa 100644
--- a/.github/workflows/test-lang-ruby.yml
+++ b/.github/workflows/test-lang-ruby.yml
@@ -43,6 +43,7 @@ jobs:
- '2.7'
- '3.0'
- '3.1'
+ - '3.2'
steps:
- uses: actions/checkout@v2
@@ -51,7 +52,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
- name: Install Dependencies
- run: sudo apt-get install -qqy bundler libsnappy-dev
+ run: sudo apt-get install -qqy libsnappy-dev
- uses: actions/cache@v2
with:
@@ -83,6 +84,7 @@ jobs:
- '2.7'
- '3.0'
- '3.1'
+ - '3.2'
steps:
- uses: actions/checkout@v2
@@ -91,7 +93,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
- name: Install Dependencies
- run: sudo apt-get install -qqy bundler libsnappy-dev
+ run: sudo apt-get install -qqy libsnappy-dev
- uses: actions/cache@v2
with:
diff --git a/lang/ruby/build.sh b/lang/ruby/build.sh
index baab974b5..3d789c8ab 100755
--- a/lang/ruby/build.sh
+++ b/lang/ruby/build.sh
@@ -24,11 +24,6 @@ cd "$(dirname "$0")"
export GEM_HOME="$PWD/.gem/"
export PATH="/usr/local/rbenv/shims:$GEM_HOME/bin:$PATH"
-# bootstrap bundler
-gem install --no-document -v 1.17.3 bundler
-
-# rbenv is used by the Dockerfile but not the Github action in CI
-rbenv rehash 2>/dev/null || echo "Not using rbenv"
bundle install
for target in "$@"