From dafffb6cc492e3ec6e0944e34d82b3fb4158b40c Mon Sep 17 00:00:00 2001 From: Paul Mucur Date: Tue, 21 Jan 2025 16:24:11 +0000 Subject: [PATCH] Use Ruby 3.1.6 to cross-compile gems --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 164d2d6..112239d 100644 --- a/Rakefile +++ b/Rakefile @@ -70,6 +70,7 @@ namespace :gem do desc "Compile and build native gem for #{platform} platform" task platform do RakeCompilerDock.sh <<~SCRIPT, platform: platform, verbose: true + rbenv shell 3.1.6 && gem install bundler --no-document && bundle && bundle exec rake native:#{platform} pkg/#{re2_gemspec.full_name}-#{Gem::Platform.new(platform)}.gem PATH="/usr/local/bin:$PATH"