em-dir-watcher 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/em-dir-watcher.gemspec +1 -1
- data/lib/em-dir-watcher/platform/windows.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.4
|
data/em-dir-watcher.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{em-dir-watcher}
|
8
|
-
s.version = "0.9.
|
8
|
+
s.version = "0.9.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Andrey Tarantsov", "Mikhail Gusarov"]
|
@@ -85,7 +85,7 @@ class Watcher
|
|
85
85
|
def setup_listener
|
86
86
|
path_to_script = File.join(File.dirname(__FILE__), 'windows', 'monitor.rb')
|
87
87
|
path_to_ruby_exe = 'ruby'
|
88
|
-
@io = IO.popen(path_to_ruby_exe + " " + path_to_script + " #{@server_port} " + File.expand_path(@path))
|
88
|
+
@io = IO.popen('"' + path_to_ruby_exe + '" "' + path_to_script + "\" #{@server_port} \"" + File.expand_path(@path) + '"')
|
89
89
|
end
|
90
90
|
|
91
91
|
def path_changed path
|