Skip to content

Commit

Permalink
[Ruby] backport: update bundle before building the native lib (#38334)
Browse files Browse the repository at this point in the history
Backport #38303 to the 1.69.x branch.

Co-authored-by: alto-ruby <altorubys@gmail.com>
  • Loading branch information
markdroth and alto-ruby authored Dec 23, 2024
1 parent 16ec7cc commit b4ef7c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ task 'gem:native', [:plat] do |t, args|
run_rake_compiler(plat, <<~EOT)
#{prepare_ccache_cmd} && \
gem update --system --no-document && \
bundle && \
bundle update && \
bundle exec rake clean && \
bundle exec rake native:#{plat} pkg/#{spec.full_name}-#{plat}.gem pkg/#{spec.full_name}.gem \
RUBY_CC_VERSION=#{ruby_cc_versions} \
Expand Down Expand Up @@ -216,7 +216,7 @@ task 'gem:native', [:plat] do |t, args|
run_rake_compiler(plat, <<~EOT)
#{prepare_ccache_cmd} && \
gem update --system --no-document && \
bundle && \
bundle update && \
bundle exec rake clean && \
export GRPC_RUBY_DEBUG_SYMBOLS_OUTPUT_DIR=#{debug_symbols_dir} && \
bundle exec rake native:#{plat} pkg/#{spec.full_name}-#{plat}.gem pkg/#{spec.full_name}.gem \
Expand Down

0 comments on commit b4ef7c1

Please sign in to comment.