这个 Cucumber 错误消息是什么意思?
我运行cucumber features
并得到:
Using the default profile...
can't activate builder (~> 2.1.2, runtime) for
["activemodel-3.0.5", "actionpack-3.0.5", "railties-3.0.5"],
already activated builder-3.0.0 for
["cucumber-0.10.2"] (Gem::LoadError)
这里出了什么问题,如何修复它?谢谢。
I run cucumber features
and get:
Using the default profile...
can't activate builder (~> 2.1.2, runtime) for
["activemodel-3.0.5", "actionpack-3.0.5", "railties-3.0.5"],
already activated builder-3.0.0 for
["cucumber-0.10.2"] (Gem::LoadError)
What is wrong here and how can I fix it? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这意味着您已经安装并加载了 Builder 3.0.0,而 Rails 需要 2.1.x。
尝试使用
$ gem uninstall builder
,然后使用
$ bundle
(假设您使用的是捆绑程序)。
如果不是,请执行
$ gem install builder --version "<2.2"
HTH。
It means you have builder 3.0.0 installed and loaded while rails needs 2.1.x.
Try
$ gem uninstall builder
followed by
$ bundle
(assuming you're using bundler).
If you're not, do
$ gem install builder --version "<2.2"
HTH.