Class: Bundler::Installer

Inherits:
Object
  • Object
show all
Defined in:
lib/bundler_cacher.rb

Class Method Summary collapse

Class Method Details

.base_installObject



8
# File 'lib/bundler_cacher.rb', line 8

alias_method :base_install, :install

.install(root, definition, options = {}) ⇒ Object



10
11
12
13
14
15
# File 'lib/bundler_cacher.rb', line 10

def install(root, definition, options = {})
  fetch_gempack
rescue AWS::S3::Errors::NoSuchKey
  base_install(root, definition, options)
  push_gempack
end