Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazily load time, cgi, and zlib #4010

Merged
merged 3 commits into from Oct 12, 2020
Merged

Conversation

deivid-rodriguez
Copy link
Member

@deivid-rodriguez deivid-rodriguez commented Oct 9, 2020

While creating a spec for #3991, I noticed that these default gems are loaded eagerly every time rubygems/dependency_installer is required.

The spec I was writing requires me to use a fresh dummy location for default gems, but since these gems are loaded, I'm also required to create dummy versions of these gems in there too.

I figured that a better solution than making the test more complicated is to lazily load these default gem dependencies only when they are used.

Make sure he following tasks are checked

@deivid-rodriguez deivid-rodriguez merged commit 0af1449 into master Oct 12, 2020
@deivid-rodriguez deivid-rodriguez deleted the lazily_load_default_gems branch October 12, 2020 18:14
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
Lazily load `time`, `cgi`, and `zlib`

(cherry picked from commit 0af1449)
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
Lazily load `time`, `cgi`, and `zlib`

(cherry picked from commit 0af1449)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants