Skip to content

Commit

Permalink
dev: cross-compile jruby gem only once
Browse files Browse the repository at this point in the history
avoiding the (buggy) default behavior of rake-compiler-dock when no
platform is set for jruby.
  • Loading branch information
flavorjones committed Dec 23, 2020
1 parent 4effe03 commit 99a8f35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rakelib/cross-ruby.rake
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ namespace "gem" do

desc "build a jruby gem"
task "jruby" do
RakeCompilerDock.sh "gem install bundler --no-document && bundle && rake java gem", rubyvm: "jruby"
RakeCompilerDock.sh("gem install bundler --no-document && bundle && rake java gem",
rubyvm: "jruby", platform: "jruby")
end

desc "build native gems for windows"
Expand Down

0 comments on commit 99a8f35

Please sign in to comment.