Don't actually install a specific ruby version

Compilation slows down the install too much, and very often projects
specify something specific.
This commit is contained in:
David Heinemeier Hansson
2025-07-04 16:23:18 -07:00
parent e166cde9d0
commit 59b561a3ac

View File

@ -1,10 +1,6 @@
if ! command -v ruby &>/dev/null; then
# Install Ruby using gcc-14 for compatibility
yay -S --noconfirm --needed gcc14
mise settings set ruby.ruby_build_opts "CC=gcc-14 CXX=g++-14"
mise install ruby
mise use ruby -g
# Install Ruby using gcc-14 for compatibility
yay -S --noconfirm --needed gcc14
mise settings set ruby.ruby_build_opts "CC=gcc-14 CXX=g++-14"
# Trust .ruby-version
mise settings add idiomatic_version_file_enable_tools ruby
fi
# Trust .ruby-version
mise settings add idiomatic_version_file_enable_tools ruby