Skip to content

Commit

Permalink
re-add stray true, correct paths
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbuddy committed Nov 28, 2011
1 parent 8669b49 commit 90736ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/guard/listeners/darwin.rb
Expand Up @@ -30,8 +30,9 @@ def stop
# @return [Boolean] whether usable or not
#
def self.usable?
$LOAD_PATH << File.expand_path('../../../vendor/darwin', __FILE__)
$LOAD_PATH << File.expand_path('../../../vendor/darwin/lib', __FILE__)
require 'rb-fsevent'
true
rescue LoadError
false
end
Expand Down
2 changes: 1 addition & 1 deletion lib/guard/listeners/linux.rb
Expand Up @@ -33,7 +33,7 @@ def stop
# @return [Boolean] whether usable or not
#
def self.usable?
$LOAD_PATH << File.expand_path('../../../vendor/linux', __FILE__)
$LOAD_PATH << File.expand_path('../../../vendor/linux/lib', __FILE__)
require 'rb-inotify'
true
rescue LoadError
Expand Down
2 changes: 1 addition & 1 deletion lib/guard/listeners/windows.rb
Expand Up @@ -30,7 +30,7 @@ def stop
# @return [Boolean] whether usable or not
#
def self.usable?
$LOAD_PATH << File.expand_path('../../../vendor/windows', __FILE__)
$LOAD_PATH << File.expand_path('../../../vendor/windows/lib', __FILE__)
require 'rb-fchange'
true
rescue LoadError
Expand Down

0 comments on commit 90736ff

Please sign in to comment.