Sha256: a0483f56fc0a09f96d0d9462fcd3795e29fceff4f092ccbb254e5d78a807a6c0

Contents?: true

Size: 449 Bytes

Versions: 4

Compression:

Stored size: 449 Bytes

Contents

require 'rubygems/installer'

module Bundler
  class GemInstaller < Gem::Installer
    def check_executable_overwrite(filename)
      # Bundler needs to install gems regardless of binstub overwriting
    end

    if Bundler.current_ruby.mswin? || Bundler.current_ruby.jruby?
      def build_extensions
        # Gain the lock because rubygems use Dir.chdir
        SharedHelpers.chdir('.') do
          super
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bundler-1.5.0.rc.1 lib/bundler/gem_installer.rb
bundler-1.4.0.rc.1 lib/bundler/gem_installer.rb
bundler-1.4.0.pre.2 lib/bundler/gem_installer.rb
bundler-1.4.0.pre.1 lib/bundler/gem_installer.rb