Skip to content

Commit

Permalink
Use Ruby 3.1.6 to cross-compile gems
Browse files Browse the repository at this point in the history
  • Loading branch information
mudge committed Jan 21, 2025
1 parent 876fc8a commit dafffb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dafffb6

Please sign in to comment.