【问题标题】:Trying to build Apache ODE source code with Buildr尝试使用 Buildr 构建 Apache ODE 源代码
【发布时间】:2011-02-03 22:11:37
【问题描述】:

我正在尝试使用 Ruby 使用 Buildr 构建 APACHE ODE 源代码。我安装了 ruby​​ 并用它安装了 Buildr,但是当我在 APACHE ODE 源代码的根目录上运行命令 rake 包时,它给了我这个错误

C:\workspace2\APACHE_ODE_1.X>rake 包 --trace (在 C:/workspace2/APACHE_ODE_1.X 中) 耙中止! 未初始化的常量 Gem::Requirement::OP_RE

我安装的 gems

C:\workspace2\APACHE_ODE_1.X>宝石列表

* 本地宝石 *

蚂蚁裹尸布 (0.7.0) 归档-tar-minitar (0.5.2) 建设者(2.1.2) 建造者 (1.3.5) 高线 (1.5.1) 锄头 (2.3.3) 网络 sftp (2.0.2) 网络 SSH (2.0.15) 耙子 (0.8.7) rjb (1.1.6) rspec (1.2.8) 红宝石锻造 (1.0.5) rubygems 更新 (1.3.6) rubyzip (0.9.1) xml-simple (1.0.12)

【问题讨论】:

    标签: apache build buildr apache-ode


    【解决方案1】:

    我遇到了同样的问题,其他人也是如此(请参阅此this 错误票)。

    升级到 Buildr 1.4 应该可以解决问题。

    编辑:我刚刚尝试升级到 Buildr 1.4。

    没有任何包,所以我直接从 GitHub 获取,这是我的步骤。

    git clone http://github.com/apache/buildr.git
    cd buildr
    sudo gem build buildr.gemspec
    sudo env JAVA_HOME=$JAVA_HOME gem install buildr-1.4.0.gem
    

    这解决了问题中描述的问题。虽然由于一个新问题我无法安装 Apache Ode,但如果你没有遇到那个问题,那么我没有理由尝试找出它的原因 :)

    【讨论】:

      猜你喜欢
      • 2012-03-15
      • 2017-03-02
      • 2015-06-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-14
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多