From e481d0ddf4f7743aed5f6eb32ecd21fe117def55 Mon Sep 17 00:00:00 2001 From: Fabio Gallonetto Date: Wed, 20 Mar 2013 21:08:28 +0000 Subject: [PATCH] Fix a bug that was preventing a clean install The installation of the plugin only happened during an update because the code that checks out the vundle plugin was in the wrong place. --- Rakefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Rakefile b/Rakefile index 8086508..5371aa6 100644 --- a/Rakefile +++ b/Rakefile @@ -86,10 +86,6 @@ task :vundle_migration do FileUtils.rm_rf(File.join('.git', 'modules', sub_path)) end FileUtils.mv(File.join('vim','bundle'), File.join('vim', 'bundle.old')) - run %{ - cd $HOME/.yadr - git clone https://github.com/gmarik/vundle.git #{File.join('vim','bundle', 'vundle')} - } end desc "Runs Vundle installer in a clean vim environment" @@ -108,8 +104,12 @@ task :install_vundle do puts "Press a key to continue" STDIN.getc + run %{ + cd $HOME/.yadr + git clone https://github.com/gmarik/vundle.git #{File.join('vim','bundle', 'vundle')} + } + Vundle::update_vundle - end task :default => 'install'