Module: VimPathogenPluginManager

Defined in:
lib/vim_pathogen_plugin_manager.rb,
lib/vim_pathogen_plugin_manager/version.rb

Defined Under Namespace

Classes: Manager

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.check_git_versionObject



163
164
165
166
167
168
169
# File 'lib/vim_pathogen_plugin_manager.rb', line 163

def self.check_git_version
  git_version = `git --version`
  git_version = git_version.gsub(/git version /, '').split(".")
  unless (git_version[0].to_i >= 1 and git_version[1].to_i >= 8 and git_version[2].to_i >= 5) then
    puts "You need git version 1.8.5.x or greater.".colorize(:red)
  end
end