getting-started

Install Ruby

Installing Ruby

Ruby is a dynamic, open-source programming language that is essential for Jekyll and many web development tools.

Prerequisites

  • A computer running Windows, macOS, or Linux
  • Internet connection

Installation Methods

Windows

  1. Using RubyInstaller
    # Verify installation
    ruby --version
    

macOS

  1. Using Homebrew

    brew install ruby
    
  2. Using rbenv

    brew install rbenv
    rbenv init
    rbenv install 3.2.2
    rbenv global 3.2.2
    

Linux (Ubuntu/Debian)

sudo apt-get update
sudo apt-get install ruby-full

Verify Installation

After installation, verify Ruby is correctly installed:

ruby --version
gem --version

Troubleshooting

  • Ensure you have the latest version
  • Check system PATH settings
  • Restart your terminal after installation