尝试使用 Builder 构建 Apache ODE 源代码
我正在尝试使用 Ruby 通过 Buildr 构建 APACHE ODE 源代码。我安装了 ruby 并安装了 Buildr,但是当我在 APACHE ODE 源代码的根目录上运行命令 rake package 时,它给了我这个错误
C:\workspace2\APACHE_ODE_1.X>rake package --trace (在 C:/workspace2/APACHE_ODE_1.X 中) 耙子中止! 未初始化常量 Gem::Requirement::OP_RE
我已安装的 gem
C:\workspace2\APACHE_ODE_1.X>gem list
* LOCAL GEMS *
Antwrap (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) 红宝石压缩 (0.9.1) xml-简单 (1.0.12)
i am trying to build APACHE ODE source code with Buildr using Ruby. I installed ruby and installed Buildr with it, but when i run the command rake package on the root of APACHE ODE source code it gives me this error
C:\workspace2\APACHE_ODE_1.X>rake package --trace
(in C:/workspace2/APACHE_ODE_1.X)
rake aborted!
uninitialized constant Gem::Requirement::OP_RE
The gems i have installed
C:\workspace2\APACHE_ODE_1.X>gem list
* LOCAL GEMS *
Antwrap (0.7.0)
archive-tar-minitar (0.5.2)
builder (2.1.2)
buildr (1.3.5)
highline (1.5.1)
hoe (2.3.3)
net-sftp (2.0.2)
net-ssh (2.0.15)
rake (0.8.7)
rjb (1.1.6)
rspec (1.2.8)
rubyforge (1.0.5)
rubygems-update (1.3.6)
rubyzip (0.9.1)
xml-simple (1.0.12)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题,其他人也遇到了同样的问题(请参阅此 this bug票)。
升级到 Buildr 1.4 应该可以解决该问题。
编辑:我刚刚尝试升级到 Builder 1.4。
任何地方都没有包,所以我直接从 GitHub 获取它,这是我的步骤。
这解决了问题中描述的问题。我虽然因为一个新问题而无法安装 Apache Ode,但如果你没有遇到这个问题,那么我就没有理由尝试找出它的原因:)
I am suffering from the same problem and so are others (see this this bug ticket).
Upgrading to Buildr 1.4 should fix the problem.
Edit: I just tried upgrading to Buildr 1.4.
There wasn't a package anywhere so I got it straight from GitHub, here are my steps.
This fixed the problem described in the question. I was though unable to install Apache Ode because of a new problem, but if you don't run into that one then no reason for me to try to find out the cause for it yet :)