ruby-on-rails – RSpec安装错误:“在任何源路径中找不到自动测
发布时间:2020-12-16 23:04:55 所属栏目:百科 来源:网络整理
导读:当我跑: rails generate rspec:install 我得到这个输出: identical .rspec exist spec identical spec/spec_helper.rbCould not find "autotest" in any of your source paths. Your current source paths are: (..)/rails_projects/sample_app/lib/templa
当我跑:
rails generate rspec:install 我得到这个输出: identical .rspec exist spec identical spec/spec_helper.rb Could not find "autotest" in any of your source paths. Your current source paths are: (..)/rails_projects/sample_app/lib/templates/rspec/install (..)/rspec-rails-2.3.0/lib/generators/rspec/install/templates 我是RSpec,Rails和Ruby的新手.关于如何使这项工作有任何提示? 解决方法
这是一个bug它可以绕过:
“有这个问题的人的一个快速解决方案是使gem中缺少的目录(即mkdir rspec-rails-2.3.0 / lib / generators / rspec / install / templates / autotest) 参考: (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |