Skip to content

Commit

Permalink
Merge pull request #4824 from Shopify/remove-ruby-from-brew
Browse files Browse the repository at this point in the history
Remove Ruby dependency from the Homebrew formula
  • Loading branch information
gonzaloriestra authored Nov 11, 2024
2 parents bb27257 + eb9c2cc commit 02d6cad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packaging/3/src/shopify-cli.rb.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class ShopifyCli{% if formulaVersion %}{% if formulaVersion == '3' %}AT3{% else
sha256 "{{ cliSha }}"
license "MIT"
depends_on "node"
depends_on "ruby"
depends_on "git"

livecheck do
Expand All @@ -38,7 +37,6 @@ class ShopifyCli{% if formulaVersion %}{% if formulaVersion == '3' %}AT3{% else
executable_content = <<~SCRIPT
#!/usr/bin/env #{Formula["node"].opt_bin}/node

process.env.SHOPIFY_RUBY_BINDIR = "#{Formula["ruby"].opt_bin}"
process.env.SHOPIFY_HOMEBREW_FORMULA = "shopify-cli{% if formulaVersion %}{% if formulaVersion == '3' %}@{% else %}-{% endif %}{{formulaVersion}}{% endif %}"

import("#{new_original_executable_path}")
Expand Down

0 comments on commit 02d6cad

Please sign in to comment.