keyboard keys: key
colors: #ff0099
Summary with folding details
Secret detailscode
class String | |
def black; "\e[30m#{self}\e[0m" end | |
def red; "\e[31m#{self}\e[0m" end | |
def green; "\e[32m#{self}\e[0m" end | |
def brown; "\e[33m#{self}\e[0m" end | |
def blue; "\e[34m#{self}\e[0m" end | |
def magenta; "\e[35m#{self}\e[0m" end | |
def cyan; "\e[36m#{self}\e[0m" end | |
def gray; "\e[37m#{self}\e[0m" end |
gem uninstall libv8 | |
gem install therubyracer | |
gem install libv8 -- --with-system-v8 |
lsof -i tcp:3000 |
keyboard keys: key
colors: #ff0099
code
After lots of trial and error, I finally got ruby 2.7.6 installed on my early mac m1 (macOS 12.6).
There are many blog posts out there suggesting different flags, ignoring warnings etc. But in the end, this is what worked for me.
DO NOT use the brew / ibrew setup, where ibrew is aliased to arch -x86_64 /usr/local/bin/brew
.
It will mess up your system with conflicting packages and paths.
Use a terminal without Rosetta 2.