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
- Using RubyInstaller
- Download RubyInstaller from https://rubyinstaller.org/
- Run the installer and check the box to add Ruby to your PATH
# Verify installation ruby --version
macOS
-
Using Homebrew
brew install ruby
-
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