diff options
author | Hemant Kumar <gethemant@gmail.com> | 2013-07-27 01:41:20 +0530 |
---|---|---|
committer | Hemant Kumar <gethemant@gmail.com> | 2013-07-29 23:22:56 +0530 |
commit | 64f201c6ff2498773dd02b80586354623612e1d0 (patch) | |
tree | 6bbc3f0f20f9ac56f1105543d9fc876e76c7e78b /lib/bundler/gem_installer.rb | |
parent | 41ee4215711aa3eab3f373dc8068dcaf8cd3f833 (diff) | |
download | bundler-64f201c6ff2498773dd02b80586354623612e1d0.tar.gz |
Add check for JRuby apart from Windows on build_extensions method
Diffstat (limited to 'lib/bundler/gem_installer.rb')
-rw-r--r-- | lib/bundler/gem_installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/gem_installer.rb b/lib/bundler/gem_installer.rb index 381bd284d8..749ff53653 100644 --- a/lib/bundler/gem_installer.rb +++ b/lib/bundler/gem_installer.rb @@ -6,7 +6,7 @@ module Bundler # Bundler needs to install gems regardless of binstub overwriting end - if WINDOWS + if Bundler.current_ruby.mswin? || Bundler.current_ruby.jruby? def build_extensions # Gain the lock because rubygems use Dir.chdir SharedHelpers.chdir('.') do |