synced_folders/rsync: force NIO4R_PURE
This commit is contained in:
parent
2879e1c617
commit
88683221f4
|
@ -1,6 +1,8 @@
|
|||
## 1.5.4 (unreleased)
|
||||
|
||||
BUG FIXES:
|
||||
|
||||
- command/rsync-auto: Works properly on Windows.
|
||||
|
||||
## 1.5.3 (April 14, 2014)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue