What does this Cucumber error message mean?

做~自己de王妃 提交于 2019-12-08 10:14:16

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/5684120/what-does-this-cucumber-error-message-mean

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!