Skip to content

Commit 4f38b78

Browse files
committed
Seems plain sh 'bundle package' does not work
1 parent c753b58 commit 4f38b78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Rakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ namespace :repackage do
3434
task :all do
3535
Dir.chdir(__dir__) do
3636
# store gems in vendor cache for docker
37-
sh 'bundle package'
37+
Bundler.with_original_env do
38+
sh 'bundle package'
39+
end
3840

3941
# build only the jar file not the whole gem for java platform, the jar is part the concurrent-ruby-x.y.z.gem
4042
Rake::Task['lib/concurrent-ruby/concurrent/concurrent_ruby.jar'].invoke

0 commit comments

Comments
 (0)