Skip to content

Commit

Permalink
Unfsck bundled RubyGems.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Mar 18, 2014
1 parent c0b5652 commit b2791df
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions library/rubygems/basic_specification.rb
Expand Up @@ -53,8 +53,6 @@ def base_dir
# Return true if this spec can require +file+.

def contains_requirable_file? file
build_extensions

suffixes = Gem.suffixes

full_require_paths.any? do |dir|
Expand Down
2 changes: 0 additions & 2 deletions library/rubygems/request_set.rb
Expand Up @@ -125,8 +125,6 @@ def install options, &block # :yields: request, installer

sorted_requests.each do |req|
if req.installed? then
req.spec.spec.build_extensions

if @always_install.none? { |spec| spec == req.spec.spec } then
yield req, nil if block_given?
next
Expand Down
1 change: 1 addition & 0 deletions library/rubygems/specification.rb
Expand Up @@ -1414,6 +1414,7 @@ def build_args
# the gem.build_complete file is missing.

def build_extensions # :nodoc:
return
return if default_gem?
return if extensions.empty?
return if installed_by_version < Gem::Version.new('2.2.0.preview.2')
Expand Down
1 change: 1 addition & 0 deletions library/rubygems/stub_specification.rb
Expand Up @@ -54,6 +54,7 @@ def activated?
end

def build_extensions # :nodoc:
return
return if default_gem?
return if extensions.empty?

Expand Down

0 comments on commit b2791df

Please sign in to comment.