Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 89eac8c

Browse files
authoredMar 7, 2025··
Replace deprecated bundle package --all call (#154)
1 parent 8ded2a1 commit 89eac8c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ PLATFORMS = %w[
205205
]
206206
task 'gem:native' do
207207
require 'rake_compiler_dock'
208-
sh "bundle package --all" # Avoid repeated downloads of gems by using gem files from the host.
208+
sh "bundle config set cache_all true" # Avoid repeated downloads of gems by using gem files from the host.
209+
sh "bundle package"
209210
PLATFORMS.each do |plat|
210211
RakeCompilerDock.sh "bundle --local && rake native:#{plat} gem", platform: plat
211212
end
@@ -229,7 +230,8 @@ Please note, that parallel builds only work reliable, if the specific platform g
229230
task 'prepare' do
230231
require 'rake_compiler_dock'
231232
require 'io/console'
232-
sh "bundle package --all"
233+
sh "bundle config set cache_all true"
234+
sh "bundle package"
233235
sh "cp ~/.gem/gem-*.pem build/gem/ || true"
234236
ENV["GEM_PRIVATE_KEY_PASSPHRASE"] = STDIN.getpass("Enter passphrase of gem signature key: ")
235237
end

0 commit comments

Comments
 (0)
Please sign in to comment.