无法使用growl-rspec gem获取Growl通知

时间:2011-07-25 05:01:50

标签: rspec growl guard

我在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

1 个答案:

答案 0 :(得分:12)

想出来。我忘了安装GrowlNotify

注意:确保 Growl GrowlNotify 的版本匹配:

Match Growl and GrowlNotify versions