[英]Rubymine and running rspec “rspec-core is not part of the bundle”
我正在尝试运行一个不使用rubymine创建的rails应用程序。 它是一个非常不同的应用程序使用rails引擎加载...当我尝试运行测试时,我收到以下错误消息
Testing started at 12:29 ...
/Users/userbnamexxxx/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:214:in `block in replace_gem': rspec-core is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
from /Users/userbnamexxxx/.rbenv/versions/1.9.3-p327/bin/rspec:22:in `<top (required)>'
from -e:1:in `load'
from -e:1:in `<main>'
我编辑了配置,它确实选中了bundle exec复选框。 测试控制台中的测试很好。 我尝试了另一个项目,这是一个默认的错误标准rails应用程序,它在那里很好...我使用rbenv管理ruby版本....请帮助,因为我真的卡住了,不使用终端将是很好的。 ...
添加宝石
rspec的核心
进入你的.Gem文件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.