Skip to content

Commit

Permalink
Adjust indent
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Aug 6, 2024
1 parent c941ab8 commit 99ea67e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tool/rbinstall.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1055,12 +1055,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 99ea67e

Please sign in to comment.