Last active
October 3, 2024 09:54
-
-
Save knightq/d4d1bd63700131de593889d017af4f2d to your computer and use it in GitHub Desktop.
Revisions
-
knightq renamed this gist
Oct 3, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
knightq created this gist
Oct 3, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,41 @@ # Installing Ruby 3.3.5 with YJIT on Macbook with ASDF ## Install ASDF Ensure you have homebrew installed. See https://brew.sh ```shell brew install coreutils curl git libyaml asdf ``` ### Add the ZSH plugin Add the following to ~/.zshrc ```shell plugins=(asdf) ``` ## Install Rust If you want YJIT in Ruby, you'll need to install Rust. ```shell asdf plugin add rust asdf install rust latest asdf global rust latest ``` ### Install Ruby ```shell asdf plugin add ruby export RUBY_CONFIGURE_OPTS=--enable-yjit asdf install ruby 3.3.5 # Optionally asdf global ruby 3.3.5 ``` # Verify installation with: ```shell ruby -v --yjit ```