Fix test_loaded_gem_types faling in test-bundled-gems (take 3) #49
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#46 and #48 was both insufficient.
When running test-bundled-gems with
make test-bundled-gems
,"prism"
does not appear inGem.loaded_specs
.When running test with
tool/test-bundled-gems.rb
, this does not happen.So, we need to avoid using Prism as a loaded gem test (#46) and also need to omit test when RBS's gem_dir does not have sig directory (#48).
This pull request is a mix of #46 and #48.
Additional info
It's because prism is a default gem. Same for irb.