Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jul 22, 2022
1 parent 9a7c56c commit a8f2cd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -eux

# Keep idempotent as possible

brew_install() {
which brew || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Expand Down Expand Up @@ -52,6 +54,8 @@ asdf_omitted_install() {
# asdf global is needless except java. Because .tool-versions is managed in same repository.
done

# asdf will skip installed versions with exit `0`. So needless as `(asdf list ruby | grep '3.1.2') || asdf install...`

# ref: https://github.com/kachick/times_kachick/issues/180
ASDF_RUBY_BUILD_VERSION=v20220721 RUBY_CONFIGURE_OPTS=--with-openssl-dir=$(brew --prefix openssl@3) asdf install ruby 3.1.2
ASDF_RUBY_BUILD_VERSION=v20220721 RUBY_CONFIGURE_OPTS=--with-openssl-dir=$(brew --prefix openssl@1.1) asdf install ruby 3.0.4
Expand Down

0 comments on commit a8f2cd7

Please sign in to comment.