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

Ignore load path caches generated by a different ruby version #387

Merged
merged 1 commit into from Jan 10, 2022

Commits on Jan 10, 2022

  1. Ignore load path caches generated by a different ruby version

    Fix: #384
    
    Until now it was assume that if the `$LOAD_PATH` was identical,
    then the content of the paths would be too.
    
    However from one minor ruby version to another, the layout of the
    stdlib can change. So if the newer version is installed in the same
    place than the previous one, it might cause the load path cache to
    be invalid.
    
    So we store `RUBY_DESCRIPTION` in the cache and make sure it matches
    before reusing the cache.
    byroot committed Jan 10, 2022
    Copy the full SHA
    8726b29 View commit details
    Browse the repository at this point in the history