Ruby

Install and manage Ruby locally (Windows, macOS, Linux) using installers or version managers; use Bundler for dependencies.

🧾 Overview

Ruby is used for bots, APIs (Sinatra), and full frameworks (Rails). Local installation lets you manage gems and test before deploying.


πŸ“₯ Installation (choose one)

1

Download the latest Ruby+Devkit (x64) from https://rubyinstaller.org/downloads/

2

Run installer (enable MSYS2 when prompted).

3

Let post-install script finish (toolchain setup).

4

Verify & install bundler

5

Initialize project (optional)


βœ… Verification

All commands should output versions.


πŸ’Ž Managing Gems

1

Initialize

2

Add to Gemfile

3

Install / update

4

Run script with locked environment


πŸ”„ Updating

Target
Command

Ruby (rbenv)

rbenv install <version> && rbenv global <version>

All gems

bundle update

One gem

bundle update <name>

Bundler

gem install bundler


πŸ—ƒ Common Commands

Last updated