diff --git a/plugins/provisioners/shell/config.rb b/plugins/provisioners/shell/config.rb index 1e1db2270..87dfa83c2 100644 --- a/plugins/provisioners/shell/config.rb +++ b/plugins/provisioners/shell/config.rb @@ -58,7 +58,7 @@ module VagrantPlugins end def remote? - path =~ URI::regexp(["ftp", "http", "https"]) + path =~ URI.regexp(["ftp", "http", "https"]) end end end