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

ruby: Fall back to RbConfig::CONFIG's arch if rubyarchhdrdir is not set. #8

Merged
merged 1 commit into from
May 11, 2014

Conversation

rakuco
Copy link
Contributor

@rakuco rakuco commented May 11, 2014

Follow-up to 6a12875: rubyarchhdrdir is only defined from Ruby 2.0 on,
so the header detection would not work correctly if one is using an
earlier version. Instead, first try rubyarchhdrdir and, if the directory
does not exist, fall back to the previous behavior of using arch.

Follow-up to 6a12875: rubyarchhdrdir is only defined from Ruby 2.0 on,
so the header detection would not work correctly if one is using an
earlier version. Instead, first try rubyarchhdrdir and, if the directory
does not exist, fall back to the previous behavior of using arch.
@dajobe
Copy link
Owner

dajobe commented May 11, 2014

SIGH. Ok.

dajobe added a commit that referenced this pull request May 11, 2014
ruby: Fall back to RbConfig::CONFIG's arch if rubyarchhdrdir is not set.
@dajobe dajobe merged commit 83ecf44 into dajobe:master May 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants