开发者

What does this Cucumber error message mean?

开发者 https://www.devze.com 2023-02-25 18:12 出处:网络
I run cucumber features a开发者_StackOverflownd get: Using the default profile... can\'t activate builder (~> 2.1.2, runtime) for

I run cucumber features a开发者_StackOverflownd 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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消