bundle安装后,Factory_bot_rails无法安装
尝试安装factory_bot_rails
gem,但是执行捆绑>捆绑安装
:
There was an error parsing `Gemfile`: Undefined local variable or method `‘factory_bot_rails’' for Gemfile. Bundler cannot continue.
我的rvm是最新的...问题到底是什么?
提前致谢。
Trying to install the factory_bot_rails
gem, but running into this after executing bundle install
:
There was an error parsing `Gemfile`: Undefined local variable or method `‘factory_bot_rails’' for Gemfile. Bundler cannot continue.
My rvm is up to date...what exactly is the problem?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为问题是宝石的写作方式。
只需在项目的根目录中键入控制台:
或将GEM文件放入您的GEM文件
之后:
源: htttps:/// github.com/thoughtbot/factory_bot_rails
I think the problem is how the gem is wrote.
Just type on a console in the project's root directory:
or put inside your Gem file
After type:
source: https://github.com/thoughtbot/factory_bot_rails enter link description here