Skip to content

cannot install 2.7.6 on mac 13.0 ventura m1 #2125

Discussion options

You must be logged in to vote

Here's what worked for me on Ventura M2 for rbenv + ruby 2.7.5

brew unlink openssl@3  
brew install [email protected]  

echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.zshrc   
export LDFLAGS="-L/usr/local/opt/[email protected]/lib"                                                     
export CPPFLAGS="-I/usr/local/opt/[email protected]/include"
export PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig"
RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])" arch -x86_64 rbenv install 2.7.5

Replies: 10 comments 20 replies

Comment options

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

@sanjay-io
Comment options

Comment options

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

@mislav
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@aleena-adnan1
Comment options

@aleena-adnan1
Comment options

Comment options

You must be logged in to vote
8 replies
@prateeksen
Comment options

@Bardiamist
Comment options

@prateeksen
Comment options

@krzysztofkeczkowski
Comment options

@rmtolmach
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

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

@alexsorokoletov
Comment options

@MayneX
Comment options

@Jonathan0wh
Comment options

@mislav
Comment options

Answer selected by mislav
Comment options

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

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet