module Overcommit::Hook::Shared::BundleInstall

Shared code used by all BundleInstall hooks. Runs `bundle install` when a change is detected in the repository's dependencies.

@see bundler.io/

Public Instance Methods

run() click to toggle source
# File lib/overcommit/hook/shared/bundle_install.rb, line 9
def run
  result = execute(command)
  return :fail, result.stdout unless result.success?
  :pass
end