我在gemfile中安装了“guard-rspec”gem:
group :development do
gem "guard-rspec"
gem "growl"
end
当我运行后卫时,它执行我的rspec单元测试并在最后输出此消息:
Finished in 2.69 seconds
81 examples, 0 failures, 4 pending
/Users/KevinPang/.rvm/gems/ruby-1.9.2-p180/bin/rspec: No such file or directory - growlnotify --version
请注意,如果我实际在终端中输入该路径(/Users/KevinPang/.rvm/gems/ruby-1.9.2-p180/bin/rspec),它会执行rspec:
/Users/KevinPang/.rvm/gems/ruby-1.9.2-p180/bin/rspec
No examples found.
Finished in 0.00003 seconds
0 examples, 0 failures