Commit 07f3cab3 authored by Jason Lunn's avatar Jason Lunn Committed by GitHub

Set platform to "java" under JRuby

Proposed fix for #1594
parent 3d598eec
...@@ -10,6 +10,7 @@ Gem::Specification.new do |s| ...@@ -10,6 +10,7 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"] s.require_paths = ["lib"]
s.files = Dir.glob('lib/**/*.rb') s.files = Dir.glob('lib/**/*.rb')
if RUBY_PLATFORM == "java" if RUBY_PLATFORM == "java"
s.platform = "java"
s.files += ["lib/google/protobuf_java.jar"] s.files += ["lib/google/protobuf_java.jar"]
else else
s.files += Dir.glob('ext/**/*') s.files += Dir.glob('ext/**/*')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment