Skip to content

Require pathname#112

Merged
etiennebarrie merged 2 commits intomainfrom
require-pathname
Dec 2, 2021
Merged

Require pathname#112
etiennebarrie merged 2 commits intomainfrom
require-pathname

Conversation

@etiennebarrie
Copy link
Member

pathname is in the standard library but not core, so it needs to be required before being used.

Bundler requires it when you use bundle exec spoom or a spoom binstub:
https://github.com/rubygems/rubygems/blob/master/bundler/lib/bundler/shared_helpers.rb#L3

But it may not always be the case. Also if you don't use Bundler but simply run gem install spoom && spoom --version, it fails because of that.

@Morriar Morriar requested a review from a team December 2, 2021 14:54
@etiennebarrie etiennebarrie merged commit cdb1f71 into main Dec 2, 2021
@etiennebarrie etiennebarrie deleted the require-pathname branch December 2, 2021 15:02
@shopify-shipit shopify-shipit bot temporarily deployed to production December 8, 2021 21:43 Inactive
@Morriar Morriar added the bugfix Fix a bug label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fix a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants