Apple Silicon Developer Transition Kit

Episode #253 by Teacher's Avatar David Kimura

Summary

First look at the upcoming Apple Silicon processor and what it will be like for us Ruby Developers. Honestly, I wish that it was a better experience. However, with macOS Big Sur being beta and the DTK not being the final consumer hardware, there's still hope yet.
development ruby beta 8:53

Resources

Summary

# Install Homebrew
sudo xcodebuild -license

cd "$(mktemp -d)" \
  && git clone https://github.com/ruby/fiddle \
  && cd fiddle \
  && bundle install --path vendor/bundle \
  && bundle exec rake build \
  && sudo gem install pkg/fiddle-1.0.1.gem

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

# Install oh-my-zsh
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
zsh
chmod -R 755 /usr/local/share/zsh

# Install asdf and Ruby
brew install coreutils curl git
brew install asdf
echo ". $(brew --prefix asdf)/asdf.sh" >> ~/.zshrc
asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git
asdf install ruby 2.7.1