Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/dotfiles. my dotfiles (.vimrc, .bashrc, etc.)
Something went wrong. Try again.
123456789101112131415161718192021#!/bin/bash
set -euo pipefailtest -z ${DEBUG:-} || set -xDOTFILES_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
# This script installs Ruby and several tools in the Ruby ecosystem.test -z ${SKIP_RUBY:-} || exit 0echo "Installing Ruby and friends"
. $DOTFILES_DIR/functions.sh
install_now rbenv ruby-build solargraph
latest=$(\ rbenv install --list 2>/dev/null | \ sed -n '/^[[:space:]]*[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}[[:space:]]*$/ h;${g;p;}' \)rbenv install --skip-existing $latestrbenv global $latest