소스 검색

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

pull/487/head^2
Roman Sandler 10 년 전
committed by Mislav Marohnić
부모
커밋
d508822f9a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      rbenv.d/exec/gem-rehash/rubygems_plugin.rb

+ 1
- 1
rbenv.d/exec/gem-rehash/rubygems_plugin.rb 파일 보기

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

불러오는 중...
취소
저장