【问题标题】:How can I tell jruby-jars to use a patched version of JRuby?我如何告诉 jruby-jars 使用 JRuby 的修补版本?
【发布时间】:2017-06-04 22:18:34
【问题描述】:

在我相当独特的应用程序需求中,我不得不为 JRuby-1.7.26 打补丁。但是,我了解到 Warbler(使用 jruby-jars)将它自己的 JRuby 副本嵌入到我的 lib/ 目录中。如何配置 Warbler 或 jruby-jars 以在编译 JRuby 时考虑我的补丁?

【问题讨论】:

    标签: jruby warbler


    【解决方案1】:

    您需要构建一个自定义版本的 jruby-jars gem(来自 JRuby 源代码)

    然后在 Gemfile 中指定要使用的版本:

     gem 'jruby-jars', '1.7.26.PATCH', require: false
    

    【讨论】:

      猜你喜欢
      • 2011-02-05
      • 1970-01-01
      • 1970-01-01
      • 2023-03-05
      • 1970-01-01
      • 2010-12-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多