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

Set path to debug.so #733

Merged
merged 1 commit into from
Aug 12, 2022
Merged

Set path to debug.so #733

merged 1 commit into from
Aug 12, 2022

Conversation

nobu
Copy link
Member

@nobu nobu commented Aug 10, 2022

Description

When starting from rdbg, the debug gem is not activated, and cannot find the debug/debug extension library under the gem extensions directory.
As well as rdbg passes the path to debug.rb, also the path to the extension library should be passed.

@nobu nobu force-pushed the sopath branch 3 times, most recently from fc18ba6 to 306dd9a Compare August 10, 2022 12:14
sopath = File.dirname(File.dirname(sopath)) if sopath
end
else
so = "debug/debug.#{RbConfig::CONFIG['DLEXT']}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a comment like that "for 2.6"?

@ko1 ko1 merged commit e7c3748 into ruby:master Aug 12, 2022
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.

None yet

2 participants