Skip to content

Build failed for Ruby 3.2.0-dev: Incorrect bison version #2129

Discussion options

You must be logged in to vote

Apart from installing Bison, you also need to explicitly configure your PATH so that Homebrew-provided bison takes precedence over system bison:

brew install bison libyaml gmp readline openssl@1.1
PATH="$(brew --prefix bison)/bin:$PATH" \
  RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1) --disable-install-doc" \
  rbenv install 3.2.0-dev

Note: only -dev versions of Ruby require Bison. The PATH adjustment is not necessary for stable versions.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@mislav
Comment options

@hsbt
Comment options

@hsbt
Comment options

Comment options

You must be logged in to vote
3 replies
@whilekofman
Comment options

@mislav
Comment options

@Rim-777

This comment has been hidden.

Comment options

You must be logged in to vote
1 reply
@whilekofman
Comment options

Answer selected by mislav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants