Ruby - Download and Install Multiple Ruby


Download Ruby on Releases page

https://www.ruby-lang.org/en/downloads/releases/


Install Ruby

  • Extract tar file
  • For example we will install ruby version 2.7
  • Type: ./configure (enter)
  • Type: make (enter)
  • Type: make install (enter)
or you can use brew

  • brew install ruby@2.3
  • brew install ruby@2.4
  • brew install ruby@2.5
  • brew install ruby@2.6
  • brew install ruby@2.7

Comments