diff options
author | Smit Shah <who828@gmail.com> | 2013-12-07 22:58:39 +0530 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-12-18 15:08:46 -0800 |
commit | cb07807e015a58e923c2b83b18b26950b9a2126a (patch) | |
tree | c8d017976805ac4baca09107006a71d0bfce016d | |
parent | 37594644e6d05d89fd20462c3abac330a915d59c (diff) | |
download | bundler-cb07807e015a58e923c2b83b18b26950b9a2126a.tar.gz |
Removing monkey patch to rubygems build_extensions
As of Rubygems 2.0.7 build_extensions uses mutex
to ensure thread-saftey, so no need to duplicate
efforts in Bundler.
-rw-r--r-- | lib/bundler/gem_installer.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/bundler/gem_installer.rb b/lib/bundler/gem_installer.rb index 749ff53653..7d84939853 100644 --- a/lib/bundler/gem_installer.rb +++ b/lib/bundler/gem_installer.rb @@ -5,14 +5,5 @@ module Bundler 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 |