Let's just stick to the official path

This commit is contained in:
David Heinemeier Hansson
2025-09-17 14:15:04 +02:00
parent 1669832693
commit ebb12f187e

View File

@@ -1,23 +1,2 @@
# Trust .ruby-version
mise settings add idiomatic_version_file_enable_tools ruby
# Install pre-built Ruby + Rails for x86_64
# if [[ $(uname -m) == "x86_64" ]]; then
# RUBY_VERSION="3.4.5"
# RUBY_TARBALL="ruby-$RUBY_VERSION-rails-8.0.2.1-x86_64.tar.gz"
# RUBY_URL="https://pkgs.omarchy.org/ruby/$RUBY_TARBALL"
# MISE_RUBY_DIR="$HOME/.local/share/mise/installs/ruby"
# OFFLINE_CACHE="/var/cache/omarchy/ruby"
#
# mkdir -p "$MISE_RUBY_DIR"
#
# if [[ -n ${OMARCHY_ONLINE_INSTALL:-} ]]; then
# echo "Downloading pre-built Ruby $RUBY_VERSION..."
# curl -fsSL "$RUBY_URL" | tar -xz -C "$MISE_RUBY_DIR"
# else
# echo "Installing Ruby from offline cache..."
# tar -xzf "$OFFLINE_CACHE/$RUBY_TARBALL" -C "$MISE_RUBY_DIR"
# fi
#
# mise use --global "ruby@${RUBY_VERSION}"
# fi