Browse files

Quote the path to fsevent_watch. This fixes issue where a space in th…

…e path to the bin would cause it to crap out. This is an issue when bundling it up for distribution when using the gem in a .app
  • Loading branch information...
1 parent 63c552f commit 3de00f2eec262fb28e940157c34b3ccc7da1b721 @meeech meeech committed Sep 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rb-fsevent/fsevent.rb
2 lib/rb-fsevent/fsevent.rb
@@ -60,7 +60,7 @@ def stop
if RUBY_VERSION < '1.9'
def open_pipe
- IO.popen("#{self.class.watcher_path} #{options_string} #{shellescaped_paths}")
+ IO.popen("'#{self.class.watcher_path}' #{options_string} #{shellescaped_paths}")

0 comments on commit 3de00f2

Please sign in to comment.