gpt4 book ai didi

ruby-on-rails - 为什么我今天必须在我的命令前添加 'bundle exec'?

转载 作者:数据小太阳 更新时间:2023-10-29 08:46:55 26 4
gpt4 key购买 nike

<分区>

昨天为了运行我的测试,我只需要在命令行上使用 rspec

今天在执行了 git pull 和 blah blah 之后。我得到这个错误

gems/bundler-1.6.2/lib/bundler/runtime.rb:34:in 'block in setup': You have already activated rspec-support 3.0.3, but your Gemfile requires rspec-support 3.0.0. Prepending 'bundle exec' to your command may solve this. (Gem::LoadError)

是的,bundle exec rspec 可以运行并运行我的测试。 “幕后”发生了什么?

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com