2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

build ruby-3.3.0-preview1 on macOS rbenv

Last updated at Posted at 2023-05-23

環境は Intel Mac + Monterey です。

$ brew upgrade ruby-build

$ brew install openssl@3 readline libyaml gmp rust

$ RUBY_CFLAGS="-w" LDFLAGS="-L/usr/local/opt/openssl@3/lib" RUBY_CONFIGURE_OPTS="--disable-shared --with-openssl-dir=$(brew --prefix openssl@3)" rbenv install 3.3.0-preview1

$ RUBYOPT=--yjit ~/.rbenv/versions/3.3.0-preview1/bin/ruby -e 'p RubyVM::YJIT.enabled?'
true

$ RUBYOPT=--yjit ~/.rbenv/versions/3.3.0-preview1/bin/irb

refs https://github.com/rbenv/ruby-build/wiki

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?