summaryrefslogtreecommitdiff
path: root/lib/bundler/installer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r--lib/bundler/installer.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index 10526115a4..436f634a6f 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -92,6 +92,13 @@ module Bundler
lock unless Bundler.settings[:frozen]
generate_standalone(options[:standalone]) if options[:standalone]
+ run_post_install_hook
+ end
+
+ def run_post_install_hook
+ if hook = @definition.post_install_hook
+ hook.call(root, @definition.specs_by_group)
+ end
end
def install_gem_from_spec(spec, standalone = false, worker = 0)