Skip to content

Commit

Permalink
Adjust indent
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Feb 16, 2024
1 parent 9f4d5eb commit e3f452e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tool/rbinstall.rb
Expand Up @@ -1050,12 +1050,12 @@ def install_default_gem(dir, srcdir, bindir)
# 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}")
Expand Down

0 comments on commit e3f452e

Please sign in to comment.