You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because Rubygems is a terrible library and uses globals all over the place, we set Gem::sources to assign the repository for the SpecFetcher and DependencyInstaller. We create a GemSourceper-repository however. Which means we're actually scanning all the sources multiple times.
If you only have one source, this isn't an issue, but if you have more than one, it's just redundant work before performed.
We either need to figure out a better way to leverage the Rubygems lib, or we need to replace these two classes with our own implementation.
The text was updated successfully, but these errors were encountered:
Because Rubygems is a terrible library and uses globals all over the place, we set
Gem::sources
to assign the repository for theSpecFetcher
andDependencyInstaller
. We create aGemSource
per-repository however. Which means we're actually scanning all the sources multiple times.If you only have one source, this isn't an issue, but if you have more than one, it's just redundant work before performed.
We either need to figure out a better way to leverage the Rubygems lib, or we need to replace these two classes with our own implementation.
The text was updated successfully, but these errors were encountered: