Skip to content

Easiest way to build your own Ruby on MacOS

Steps

brew install chruby ruby-install
ruby-install ruby
# need get the ruby version number here and replace the line below
export PATH="$HOME/.rubies/ruby-3.1.2/bin:$PATH"
which ruby gem bundle

Reference

  • https://jekyllrb.com/docs/installation/macos
  • https://github.com/postmodern/chruby

Disclaimer
  1. License under CC BY-NC 4.0
  2. Copyright issue feedback me#imzye.me, replace # with @
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Try iOS App