synced_folders/rsync: force NIO4R_PURE

This commit is contained in:
Mitchell Hashimoto 2014-04-14 10:18:17 -07:00
parent 2879e1c617
commit 88683221f4
2 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,8 @@
## 1.5.4 (unreleased)
BUG FIXES:
- command/rsync-auto: Works properly on Windows.
## 1.5.3 (April 14, 2014)

View File

@ -2,13 +2,19 @@ require "log4r"
require 'optparse'
require "thread"
require "listen"
require "vagrant/action/builtin/mixin_synced_folders"
require "vagrant/util/busy"
require "vagrant/util/platform"
require_relative "../helper"
# This is to avoid a bug in nio 1.0.0. Remove around nio 1.0.1
if Vagrant::Util::Platform.windows?
ENV["NIO4R_PURE"] = "1"
require "listen"
end
module VagrantPlugins
module SyncedFolderRSync
module Command