Skip to content

Commit

Permalink
CLOUD-4466: remove [email protected] dependency to prevent error (#102)
Browse files Browse the repository at this point in the history
Fixes:
```
Error: [email protected] has been disabled because it is not supported upstream! It will be disabled on 2024-10-24.
```

Unfortunately this is likely to make it difficult to install ruby 2.7 in
old projects, so we'll need to go into those projects and either upgrade
ruby or add special install instructions.
  • Loading branch information
pb-dod authored Oct 24, 2024
1 parent de7b522 commit 140dc9d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.61
0.1.62
3 changes: 1 addition & 2 deletions formula/ih-core.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class IhCore < Formula
VERSION="0.1.61"
VERSION="0.1.62"
desc "Brew formula for installing core tools used at Included Health engineering."
homepage "https://github.com/ConsultingMD/homebrew-ih-public"
license "CC BY-NC-ND 4.0"
Expand All @@ -16,7 +16,6 @@ class IhCore < Formula
depends_on "yq"
depends_on "go-jira"
depends_on "envconsul"
depends_on "[email protected]" # required by ruby 2.7.2
depends_on "openssl@3"
depends_on "coreutils"
depends_on "yamllint"
Expand Down
3 changes: 2 additions & 1 deletion lib/core/shell/default/99_bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ if [[ "$PS1" = "\\s-\\v\\\$ " ]]; then
fi

# Open SSL management
BREW_PREFIX_OPENSSL="$(brew --prefix [email protected])"
# https://github.com/rbenv/ruby-build/discussions/2185#discussioncomment-5588486
BREW_PREFIX_OPENSSL="$(brew --prefix openssl@3)"
export PATH="$BREW_PREFIX_OPENSSL/bin:$PATH"
export LDFLAGS="-L$BREW_PREFIX_OPENSSL/lib"
export CPPFLAGS="-I$BREW_PREFIX_OPENSSL/include"
Expand Down
3 changes: 2 additions & 1 deletion lib/core/shell/default/99_zsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ if [[ ${#PROMPT} -lt 10 ]]; then
fi

# Open SSL management
BREW_PREFIX_OPENSSL="$(brew --prefix [email protected])"
# https://github.com/rbenv/ruby-build/discussions/2185#discussioncomment-5588486
BREW_PREFIX_OPENSSL="$(brew --prefix openssl@3)"
export PATH="$BREW_PREFIX_OPENSSL/bin:$PATH"
export LDFLAGS="-L$BREW_PREFIX_OPENSSL/lib"
export CPPFLAGS="-I$BREW_PREFIX_OPENSSL/include"
Expand Down

0 comments on commit 140dc9d

Please sign in to comment.