Skip to content

Ruby Cheatsheet

Mac Setup

  • Install Ruby Latest

    # Install rvm
    curl -sSL https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer | bash -s stable
    
    # Update $PATH
    source /Users/me/.rvm/scripts/rvm
    
    # Install ruby
    rvm install ruby@latest
    

    Check ruby version:

    $ ruby -v 
    ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin22]
    
  • Install C****ocoapods

    sudo gem install cocoapods
    

Last update: 2023-03-28