我刚刚安装了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中工作?