Browse Source

global settings mise

main
pvincent 2 weeks ago
parent
commit
3d267e3e8e
  1. 6
      install.sh
  2. 2
      mise.toml

6
install.sh

@ -21,7 +21,7 @@ function install_rails_templating {
function install_ruby { function install_ruby {
if ! command -v ruby >/dev/null; then if ! command -v ruby >/dev/null; then
ruby_version=$(wget_semver github jdx/ruby) 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} mise use --global ruby@${ruby_version}
else else
echo 'ruby already installed!' echo 'ruby already installed!'
@ -71,9 +71,9 @@ function install_miaou_bash {
} }
function install_requirements { 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 sudo apt-get install -y $DEBIAN_PACKAGES
else
else
echo requirements already installed! echo requirements already installed!
fi fi
} }

2
mise.toml

@ -1,2 +0,0 @@
[env]
GEM_INSTALL_OPTS = "--no-document"
Loading…
Cancel
Save