我剛剛安裝了RubyMine,只要Ruby + gem + rspec + rspec-rails。使rspec在RubyMine中工作
我試圖使運行http://rspec.info/所示的小教程,但我有問題。
首先,我不得不所示
require 'bowling'
修改到
require_relative 'bowling'
因爲我得到一個
`require': no such file to load -- bowling.
現在,即使這樣做,我得到一個
後`<top (required)>': undefined method `describe' for main:Object (NoMethodError)
如何使rspec在RubyMine中工作?