无法获得与 Growl-rspec gem 一起使用的 Growl 通知
我在 gemfile 中安装了“guard-rspec”gem:
group :development do
gem "guard-rspec"
gem "growl"
end
当我运行 Guard 时,它会执行我的 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
I have the "guard-rspec" gem installed in my gemfile:
group :development do
gem "guard-rspec"
gem "growl"
end
When I run guard, it executes my rspec unit tests and outputs this message at the end:
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
Note that if I actually type in that path in Terminal (/Users/KevinPang/.rvm/gems/ruby-1.9.2-p180/bin/rspec), it executes rspec:
/Users/KevinPang/.rvm/gems/ruby-1.9.2-p180/bin/rspec
No examples found.
Finished in 0.00003 seconds
0 examples, 0 failures
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
想通了。我忘记安装 GrowlNotify。
注意:确保 Growl 和 GrowlNotify 的版本匹配:
Figured it out. I forgot to install GrowlNotify.
Note: ensure that the versions of Growl and GrowlNotify are matching: