使用 ubuntu 和远程咆哮进行 Rails 自动测试
我正在使用 ubuntu 在虚拟机中开发我的 Rails 应用程序,我想在 LAN 中的窗口中发送咆哮通知(咆哮也存在于 Windows 中)。
我编写了一个简单的脚本来将通知从 ubuntu 远程发送到 Windows,并且它工作得很好(使用 ruby-growl gem),但我想知道 autotest/growl 是否支持远程通知以及我该如何做到这一点。
I am using ubuntu to develop my rails apps in a virtual machine and I want to send growl notifications in my windows which is in a LAN (growl exists in windows also).
I wrote a simple script to send notifications from ubuntu to windows remotely and it worked perfectly (with the ruby-growl gem), but I was wondering if autotest/growl supports remote notifications and how can I do that.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
享受黑客攻击的乐趣。 http://github.com/svoop/自动测试-growl/blob/master/lib/autotest/growl.rb#L87
Have fun hacking. http://github.com/svoop/autotest-growl/blob/master/lib/autotest/growl.rb#L87
autotest/growl 不使用 ruby-growl 所以我不知道它如何在 linux 上运行,但确实将
Autotest::Growl::remote_notification = true
添加到您的~/.autotest
文件做你需要的事情吗?autotest/growl doesn't use ruby-growl so I don't know how that runs on linux, but does adding
Autotest::Growl::remote_notification = true
to your~/.autotest
file do what you need?