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

Load correct version.rb from gemspec #399

Merged
merged 1 commit into from
Dec 19, 2021
Merged

Conversation

nobu
Copy link
Member

@nobu nobu commented Dec 15, 2021

When merged to ruby/ruby, reline.gemspec file is located under lib/reline, as the same as reline/version.rb.
That is the latter path relative from the former differs from the ruby/reline case, and the reline/version.rb in the default load path will be loaded.
Try require_relative not to load unexpected files.

When merged to ruby/ruby, reline.gemspec file is located under
lib/reline, as the same as reline/version.rb.  That is the latter
path relative from the former differs from the ruby/reline case,
and the reline/version.rb in the default load path will be loaded.
Try `require_relative` not to load unexpected files.
@aycabta aycabta merged commit 14f1703 into ruby:master Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants