@@ -138,12 +138,12 @@ install_or_update_homebrew() {
138
138
139
139
install_latest_ruby () {
140
140
append_to_zshrc ' eval "$(rbenv init - zsh --no-rehash)"' 1
141
- ruby_version=" 2.3.7"
141
+ ruby_version=" 2.3.7" # TODO: If we bump this, openssl should be bumped to 1.1.x, probably.
142
142
eval " $( rbenv init - zsh) "
143
143
144
144
if ! rbenv versions | grep -Fq " $ruby_version " ; then
145
- # See: https://github.com/rbenv/ruby-build/issues/1353#issuecomment-537749304
146
- RUBY_CONFIGURE_OPTS=" --with-openssl-dir=/usr/local/opt/ openssl" rbenv install -s " $ruby_version "
145
+ # See: https://github.com/rbenv/ruby-build/issues/1353#issuecomment-573414540
146
+ RUBY_CONFIGURE_OPTS=" --with-openssl-dir=$( brew --prefix openssl@1.0 ) " rbenv install -s " $ruby_version "
147
147
fi
148
148
149
149
rbenv global " $ruby_version "
@@ -231,6 +231,7 @@ brew_install_or_upgrade 'git'
231
231
install_postgresql
232
232
brew_install_or_upgrade ' redis'
233
233
brew_launchctl_restart ' redis'
234
+ brew_install_or_upgrade ' sops'
234
235
brew_install_or_upgrade ' the_silver_searcher'
235
236
brew_install_or_upgrade ' vim'
236
237
brew_install_or_upgrade ' ctags'
@@ -245,6 +246,7 @@ brew_install_or_upgrade 'ruby-build'
245
246
brew_install_or_upgrade ' wget'
246
247
brew_install_or_upgrade ' autojump'
247
248
brew_install_or_upgrade ' openssl'
249
+ brew_install_or_upgrade
' rbenv/tap/[email protected] ' # For ruby-build specifically
248
250
brew unlink openssl && brew link openssl --force
249
251
brew_install_or_upgrade ' z'
250
252
@@ -263,7 +265,7 @@ install_vim_config
263
265
# Setup Google Cloud Platform/Kubernetes Tooling
264
266
cask_install_or_upgrade ' google-cloud-sdk'
265
267
gcloud components install kubectl docker-credential-gcr pubsub-emulator
266
- brew_install_or_upgrade ' kubernetes- helm'
268
+ brew_install_or_upgrade ' helm@2 '
267
269
append_to_zshrc ' source /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc'
268
270
append_to_zshrc ' source /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc'
269
271
append_to_zshrc ' eval "$(kubectl completion zsh)"'
0 commit comments