[英]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.