updates to the content

This commit is contained in:
2026-10-31 08:34:17 -06:00
parent 70f41725a8
commit a27cc6ff5e
13 changed files with 158 additions and 33 deletions
+4 -2
View File
@@ -1,7 +1,7 @@
---
title: "Ruby and Rails"
category: "Languages and runtimes"
tagline: "The Ruby language and the Rails web framework, installed with mise and kept up to date."
tagline: "The Ruby language and the Rails web framework, installed with mise if you choose them."
source: "mise"
command: "rails"
website: "https://rubyonrails.org/"
@@ -27,7 +27,9 @@ Ruby libraries are called gems; Bundler installs the ones a project needs from i
## On CoreDesktop
CoreDesktop installs Ruby with [mise](/software/mise/) rather than pacman: it installs the latest Ruby and makes it your default (`mise use -g ruby@latest`), then installs the Bundler and Rails gems. Each `update` updates mise, moves you to the newest Ruby, and runs `gem update` to update your gems, Rails included.
Ruby and Rails aren't installed for everyone. To add them, run `configure languages` and answer yes to Ruby on Rails. It installs the latest Ruby with [mise](/software/mise/) (`mise use -g ruby@latest`), then the Bundler and Rails gems. Each new version of Ruby gets Rails and Bundler automatically, and `update` moves you to the newest Ruby and updates Rails and Bundler, leaving your other gems as they are.
Machines that had Ruby from an earlier CoreDesktop keep it, and `update` reinstalls Rails if an earlier move to a new Ruby lost it. If you don't use Ruby, remove it with `mise unuse -g ruby`.
Start a new app with: