5

我的 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
4

1 回答 1

12

弄清楚了。我忘了安装GrowlNotify

注意:确保GrowlGrowlNotify的版本匹配:

匹配 Growl 和 GrowlNotify 版本

于 2011-07-25T05:18:19.717 回答