简体   繁体   中英

How to specify that gem is JRuby platform only?

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

How can I specify that in my .gemspec?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM