10

I am working on a gem which will only work for JRuby platform.

How can I specify that in my .gemspec?

Nitish Upreti
  • 6,312
  • 9
  • 50
  • 92

1 Answers1

10

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

suvankar
  • 1,548
  • 1
  • 20
  • 28