Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/tfs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 3 Watchr和inotify_Ruby On Rails 3_Testing - Fatal编程技术网

Ruby on rails 3 Watchr和inotify

Ruby on rails 3 Watchr和inotify,ruby-on-rails-3,testing,Ruby On Rails 3,Testing,到目前为止,我一直在使用autotest,并且我已经将其设置为使用autotest inotify。我一直在想,是否有inotify支持watchr?arrrgggghh。答案就在我眼皮底下。在“安装”部分下 如果您在Linux/BSD上安装了rev gem,Watchr将自动检测并使用它。这将使Watchr成为事件 根据gem规范: “概述:Rev是一个到libev高性能事件库的Ruby绑定” 因此需要安装libev库

到目前为止,我一直在使用autotest,并且我已经将其设置为使用autotest inotify。我一直在想,是否有inotify支持watchr?

arrrgggghh。答案就在我眼皮底下。在“安装”部分下

如果您在Linux/BSD上安装了rev gem,Watchr将自动检测并使用它。这将使Watchr成为事件

根据gem规范: “概述:Rev是一个到libev高性能事件库的Ruby绑定”

因此需要安装libev库