зеркало из https://github.com/github/ruby.git
Adjust indent
This commit is contained in:
Родитель
9f4d5eb1f4
Коммит
e3f452e5d7
|
@ -1050,12 +1050,12 @@ install?(:ext, :comm, :gem, :'bundled-gems') do
|
|||
# This gemspec keep the original dependencies
|
||||
path = "#{srcdir}/.bundle/gems/#{gem_name}/#{gem_name}.gemspec"
|
||||
unless File.exist?(path)
|
||||
# Try to find the gemspec file for gems that hasn't own gemspec
|
||||
path = "#{srcdir}/.bundle/specifications/#{gem_name}.gemspec"
|
||||
unless File.exist?(path)
|
||||
skipped[gem_name] = "gemspec not found"
|
||||
next
|
||||
end
|
||||
# Try to find the gemspec file for gems that hasn't own gemspec
|
||||
path = "#{srcdir}/.bundle/specifications/#{gem_name}.gemspec"
|
||||
unless File.exist?(path)
|
||||
skipped[gem_name] = "gemspec not found"
|
||||
next
|
||||
end
|
||||
end
|
||||
end
|
||||
spec = load_gemspec(path, "#{srcdir}/.bundle/gems/#{gem_name}")
|
||||
|
|
Загрузка…
Ссылка в новой задаче