Set platform to "java" under JRuby

Proposed fix for #1594
pull/2199/head
Jason Lunn 8 years ago committed by GitHub
parent 3d598eecee
commit 07f3cab3dd
  1. 1
      ruby/google-protobuf.gemspec

@ -10,6 +10,7 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.files = Dir.glob('lib/**/*.rb')
if RUBY_PLATFORM == "java"
s.platform = "java"
s.files += ["lib/google/protobuf_java.jar"]
else
s.files += Dir.glob('ext/**/*')

Loading…
Cancel
Save