Skip to content

Commit

Permalink
Function for installing ruby with openssl@1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoglan committed Oct 11, 2020
1 parent b99b965 commit ba910a1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions shell/ruby
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ fi
get-chruby-version() {
chruby | grep '\*' | cut -d ' ' -f 3
}

ruby-install-with-openssl-1-0() {
sudo ruby-install \
-r /opt/rubies "$@" -- \
--with-openssl-dir="$(brew --prefix openssl@1.0)"
}

0 comments on commit ba910a1

Please sign in to comment.