Merge branch 'bundler-hook-recursion'

Closes #809, references #806
This commit is contained in:
Mislav Marohnić 2015-10-27 10:54:13 +01:00
commit bb129a782b

View file

@ -10,7 +10,7 @@ hook = lambda do |installer|
end
end
if defined?(Bundler::Installer) && Bundler::Installer.respond_to?(:install)
if defined?(Bundler::Installer) && Bundler::Installer.respond_to?(:install) && !Bundler::Installer.respond_to?(:install_without_rbenv_rehash)
Bundler::Installer.class_eval do
class << self
alias install_without_rbenv_rehash install