DragonRuby

drenv

The DragonRuby Environment Manager

Install DragonRuby, manage versions and tiers, scaffold projects, and vendor your game's dependencies — one small, fast CLI.

curl -fsSL drenv.org/install.sh | bash
SEE IT IN ACTION

One CLI, from install to ship.

SIMPLE. RELIABLE. FAMILIAR.

Everything around your DragonRuby game.

drenv is inspired by rbenv and Bundler. It keeps your DragonRuby installs tidy, your projects reproducible, and your dependencies vendored — on macOS, Linux, and Windows.

Every tier, side by side
Standard from itch.io, indie and pro from dragonruby.org. Install them all — they coexist, and each project picks the one it needs.
Projects in one command
drenv new scaffolds a game on your newest install. drenv use switches it, drenv run launches it — dependencies and all.
Dependencies, vendored
Declare libraries in drenv.toml and drenv resolves, locks, and vendors them into your game — reproducibly, Bundler-style.
BUNDLER, FOR DRAGONRUBY

Dependencies that just work.

Declare a library, and drenv resolves it, pins it in a lockfile, and vendors it into your game. Commit the lockfile; everyone builds the exact same thing.

1 · Add a dependency
drenv add github:Nitemaeric/conjuration
2 · Require it once, at the top of mygame/app/main.rb
require 'app/drenv_bundle.rb'

Then drenv run re-vendors everything and launches. Bump with drenv update, check with drenv outdated.

GET GOING

Zero to running game.

drenv install     # download DragonRuby (asks which tier you own)
drenv new my-game # scaffold a project on that version
cd my-game
drenv run         # launch it