Skip to content

mkmf.rb can't find header files for ruby at ~/.rbenv/versions/3.3.0-dev/lib/ruby/include/ruby.h #2123

Answered by vjpr
vjpr asked this question in Build failures
Discussion options

You must be logged in to vote

By my calculations, this should fix it:

RUBY_CONFIGURE_OPTS="--with-rubyhdrdir=/Users/Vaughan/.rbenv/versions/3.3.0-dev/include" \
rbenv install 3.3.0-dev \
--verbose

But I don't know why it is needed?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by vjpr
Comment options

You must be logged in to vote
2 replies
@hsbt
Comment options

@hsbt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants