簡體   English   中英

JRuby Warbler-如何也編譯gems

[英]JRuby Warbler - How to compile gems also

我知道warble compiled ,但是此命令僅編譯項目的源代碼。
我希望那只鶯將寶石一起編譯。 怎么做?

  1. 在項目文件夾中創建“ config”文件夾
  2. 運行warble warble config ,並創建'config / warble.rb'
  3. 編輯warble.rb文件-config.compile_gems config.compile_gems = true
  4. 運行warble compiled jar ,您將看到*.jar結果文件。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM