Skip to content

Commit

Permalink
Adjust indent
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Aug 1, 2024
1 parent cee7a36 commit abc5e72
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 @@ -1036,12 +1036,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 abc5e72

Please sign in to comment.