Explorar el Código

Make sure the alias statement only executes if there is not already an alias in place

pull/487/head^2
Roman Sandler hace 10 años
cometido por Mislav Marohnić
padre
commit
d508822f9a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      rbenv.d/exec/gem-rehash/rubygems_plugin.rb

+ 1
- 1
rbenv.d/exec/gem-rehash/rubygems_plugin.rb Ver fichero

@ -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

Cargando…
Cancelar
Guardar