Skip to content

Commit

Permalink
delint
Browse files Browse the repository at this point in the history
  • Loading branch information
tisba committed Jan 7, 2024
1 parent f1d3b1c commit 1bf9255
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export ZSH="$DOTFILES/oh-my-zsh"
/bin/bash -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# Ruby \o/
$DOTFILES/utils/install-ruby
"$DOTFILES"/utils/install-ruby

mkdir -p ~/.aws/

Expand Down
3 changes: 2 additions & 1 deletion utils/install-ruby
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set -e

ruby_version="$(cat "$DOTFILES/etc/ruby-version")"

# shellcheck source=/dev/null
if source "$(brew --prefix chruby)/share/chruby/chruby.sh"; then
if chruby | grep -q "$ruby_version"; then
read -r -n1 -p "🤔 Looks like Ruby ${ruby_version} is already installed. Reinstall? [Yy] "
Expand All @@ -21,7 +22,7 @@ fi
brew install chruby ruby-install openssl@3
ruby-install \
ruby "$ruby_version" \
--jobs $(sysctl -n hw.ncpu) \
--jobs "$(sysctl -n hw.ncpu)" \
--cleanup \
--update \
-- \
Expand Down

0 comments on commit 1bf9255

Please sign in to comment.