Browse Source

global settings mise

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

4
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,7 +71,7 @@ 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
echo requirements already installed!

2
mise.toml

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