From 3d267e3e8eea644dea73b6e3f75dd6d035bcb471 Mon Sep 17 00:00:00 2001 From: pvincent Date: Tue, 27 Jan 2026 09:56:48 +0000 Subject: [PATCH] global settings mise --- install.sh | 6 +++--- mise.toml | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 mise.toml diff --git a/install.sh b/install.sh index 1968a66..ce88d09 100755 --- a/install.sh +++ b/install.sh @@ -21,7 +21,7 @@ function install_rails_templating { function install_ruby { if ! command -v ruby >/dev/null; then ruby_version=$(wget_semver github jdx/ruby) - mise set GEM_INSTALL_OPTS="--no-document" + mise set --global GEM_INSTALL_OPTS="--no-document" mise use --global ruby@${ruby_version} else echo 'ruby already installed!' @@ -71,9 +71,9 @@ function install_miaou_bash { } function install_requirements { - if [[ -n $(dpkg -l $DEBIAN_PACKAGES 2>&1 | tail -n +6 | grep -v ^ii) ]] ; then + if [[ -n $(dpkg -l $DEBIAN_PACKAGES 2>&1 | tail -n +6 | grep -v ^ii) ]]; then sudo apt-get install -y $DEBIAN_PACKAGES - else + else echo requirements already installed! fi } diff --git a/mise.toml b/mise.toml deleted file mode 100644 index 40e7493..0000000 --- a/mise.toml +++ /dev/null @@ -1,2 +0,0 @@ -[env] -GEM_INSTALL_OPTS = "--no-document"