Install libyaml before attempting to install ruby (#1835)

* Install libyaml before attempting to install ruby

* Use omarchy helper

And unsafe -Sy

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Kostas
2025-09-21 13:56:56 +02:00
committed by GitHub
parent 83ab85799b
commit 2df8c5f7e0

View File

@@ -47,6 +47,7 @@ install_node() {
case "$1" in case "$1" in
ruby) ruby)
echo -e "Installing Ruby on Rails...\n" echo -e "Installing Ruby on Rails...\n"
omarchy-pkg-add libyaml
mise use --global ruby@latest mise use --global ruby@latest
mise settings add idiomatic_version_file_enable_tools ruby mise settings add idiomatic_version_file_enable_tools ruby
mise x ruby -- gem install rails --no-document mise x ruby -- gem install rails --no-document