Skip to content

Easiest way to build your own Ruby on MacOS

homepage-banner

Building your own Ruby on macOS can be a daunting task for beginners. However, with the right guidance, it can be a smooth process. This blog post will guide you through the 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
Leave a message