Module: FileDependencies::Gem

Defined in:
lib/file-dependencies/gem.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.hookObject


6
7
8
9
10
11
# File 'lib/file-dependencies/gem.rb', line 6

def hook
  ::Gem.post_install do |gem_installer|
    next if ENV['VENDOR_SKIP'] == 'true'
    FileDependencies.process_vendor(gem_installer.gem_dir)
  end
end