Skip to content

Commit

Permalink
Seems plain sh 'bundle package' does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Jan 23, 2023
1 parent c753b58 commit 4f38b78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ namespace :repackage do
task :all do
Dir.chdir(__dir__) do
# store gems in vendor cache for docker
sh 'bundle package'
Bundler.with_original_env do
sh 'bundle package'
end

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

0 comments on commit 4f38b78

Please sign in to comment.