Skip to content

Commit b4ef7c1

Browse files
markdrothalto-ruby
andauthored
[Ruby] backport: update bundle before building the native lib (#38334)
Backport #38303 to the 1.69.x branch. Co-authored-by: alto-ruby <[email protected]>
1 parent 16ec7cc commit b4ef7c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ task 'gem:native', [:plat] do |t, args|
184184
run_rake_compiler(plat, <<~EOT)
185185
#{prepare_ccache_cmd} && \
186186
gem update --system --no-document && \
187-
bundle && \
187+
bundle update && \
188188
bundle exec rake clean && \
189189
bundle exec rake native:#{plat} pkg/#{spec.full_name}-#{plat}.gem pkg/#{spec.full_name}.gem \
190190
RUBY_CC_VERSION=#{ruby_cc_versions} \
@@ -216,7 +216,7 @@ task 'gem:native', [:plat] do |t, args|
216216
run_rake_compiler(plat, <<~EOT)
217217
#{prepare_ccache_cmd} && \
218218
gem update --system --no-document && \
219-
bundle && \
219+
bundle update && \
220220
bundle exec rake clean && \
221221
export GRPC_RUBY_DEBUG_SYMBOLS_OUTPUT_DIR=#{debug_symbols_dir} && \
222222
bundle exec rake native:#{plat} pkg/#{spec.full_name}-#{plat}.gem pkg/#{spec.full_name}.gem \

0 commit comments

Comments
 (0)