Updated Notifier readme
This commit is contained in:
parent
5d0ec698de
commit
6c89086dea
11
README.rdoc
11
README.rdoc
@ -4,7 +4,7 @@ Guard is a command line tool to easly handle events on files modifications.
|
|||||||
|
|
||||||
== Features
|
== Features
|
||||||
|
|
||||||
- {FSEvent}[http://en.wikipedia.org/wiki/FSEvents] support on Mac OS X 10.5+ (without RubyCocoa!, {rb-fsevent gem, >= 0.3.2}[https://rubygems.org/gems/rb-fsevent] required)
|
- {FSEvent}[http://en.wikipedia.org/wiki/FSEvents] support on Mac OS X 10.5+ (without RubyCocoa!, {rb-fsevent gem, >= 0.3.4}[https://rubygems.org/gems/rb-fsevent] required)
|
||||||
- {Inotify}[http://en.wikipedia.org/wiki/Inotify] support on Linux ({rb-inotify gem, >= 0.5.1}[https://rubygems.org/gems/rb-inotify] required)
|
- {Inotify}[http://en.wikipedia.org/wiki/Inotify] support on Linux ({rb-inotify gem, >= 0.5.1}[https://rubygems.org/gems/rb-inotify] required)
|
||||||
- Polling for others (help us to support more systems)
|
- Polling for others (help us to support more systems)
|
||||||
- Super fast change detection (when polling not used)
|
- Super fast change detection (when polling not used)
|
||||||
@ -39,6 +39,10 @@ Install growl for Growl notification support
|
|||||||
|
|
||||||
gem install growl
|
gem install growl
|
||||||
|
|
||||||
|
And add it to you Gemfile
|
||||||
|
|
||||||
|
gem 'growl'
|
||||||
|
|
||||||
=== On Linux
|
=== On Linux
|
||||||
|
|
||||||
Install rb-inotify for {inotify}[http://en.wikipedia.org/wiki/Inotify] support
|
Install rb-inotify for {inotify}[http://en.wikipedia.org/wiki/Inotify] support
|
||||||
@ -49,6 +53,10 @@ Install libnotify for libonity notification support
|
|||||||
|
|
||||||
gem install libnotify
|
gem install libnotify
|
||||||
|
|
||||||
|
And add it to you Gemfile
|
||||||
|
|
||||||
|
gem 'libnotify'
|
||||||
|
|
||||||
== Usage
|
== Usage
|
||||||
|
|
||||||
Just launch Guard inside your ruby/rails project with:
|
Just launch Guard inside your ruby/rails project with:
|
||||||
@ -76,6 +84,7 @@ Signal handlers are used to interact with Guard:
|
|||||||
- {guard-minitest}[http://github.com/guard/guard-minitest]
|
- {guard-minitest}[http://github.com/guard/guard-minitest]
|
||||||
- {guard-livereload}[http://github.com/guard/guard-livereload]
|
- {guard-livereload}[http://github.com/guard/guard-livereload]
|
||||||
- {guard-sass}[http://github.com/guard/guard-sass]
|
- {guard-sass}[http://github.com/guard/guard-sass]
|
||||||
|
- {guard-compass}[http://github.com/guard/guard-compass]
|
||||||
- {guard-shell}[http://github.com/guard/guard-shell]
|
- {guard-shell}[http://github.com/guard/guard-shell]
|
||||||
- {guard-bundler}[http://github.com/guard/guard-bundler]
|
- {guard-bundler}[http://github.com/guard/guard-bundler]
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ module Guard
|
|||||||
require 'growl'
|
require 'growl'
|
||||||
true
|
true
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
UI.info "Please install growl gem for Mac OS X notification support"
|
UI.info "Please install growl gem for Mac OS X notification support and add it to your Gemfile"
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -53,7 +53,7 @@ module Guard
|
|||||||
require 'libnotify'
|
require 'libnotify'
|
||||||
true
|
true
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
UI.info "Please install libnotify gem for Linux notification support"
|
UI.info "Please install libnotify gem for Linux notification support and add it to your Gemfile"
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user