Last active
February 25, 2023 04:32
-
-
Save bibstha/97e7922fa6ee650d4adc2981ea0c00a9 to your computer and use it in GitHub Desktop.
Compiling rubyfmt in M1 mac
This file contains 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 characters
# if you haven't cloned rubyfmt yet | |
git clone [email protected]:fables-tales/rubyfmt.git | |
cd rubyfmt | |
# update ruby submodule if previously checked in | |
cd librubyfmt/ruby_checkout/ | |
git reset --hard HEAD | |
cd .. | |
git submodule update | |
# now build ruby | |
cd ruby_checkout | |
make clean | |
make all | |
cd ../.. | |
# build rubyfmt | |
make clean | |
make all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setup rubyfmt for neovim
in init.lua
Next time a ruby file is saved, it will automatically run rubyfmt