Reputation: 6550
I am working on a gem which will only work for JRuby platform.
How can I specify that in my .gemspec?
Upvotes: 10
Views: 1205
Reputation: 1558
You can simply put in gemspec
spec.platform = 'java'
means it works with JRuby only.
to specifically set the platform you can take a look:
Ruby gem Specification Reference
Upvotes: 10