lib/vim-epidemic/plugin.rb in vim-epidemic-0.0.2 vs lib/vim-epidemic/plugin.rb in vim-epidemic-0.0.3
- old
+ new
@@ -1,6 +1,5 @@
-require 'uri'
module VimEpidemic
class Plugin
@@ -15,9 +14,10 @@
def match? *args
complete_source(args.first) == complete_source
end
def install
+ FileUtils.mkdir_p @config.bundle_dir
if File.exists? dir
Dir.chdir dir
`git pull`
else
Dir.chdir @config.bundle_dir