Shopify CLI Warnings - MacOS Homebrew - "Warning: Add xxxx to your Gemfile or gemspec"

Shopify CLI Warnings - MacOS Homebrew - "Warning: Add xxxx to your Gemfile or gemspec"

Ryan_Mc
Explorer
46 0 17

Anyone else getting these warnings?   I just did a fresh Shopify CLI install on my MacBook via Homebrew.   Not sure how to remedy but these appear every time I run: shopify theme dev. 

 

I've tried reinstalling CLI.

 

/opt/homebrew/Cellar/shopify-cli/3.53.0/libexec/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify:9: warning: observer was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add observer to your Gemfile or gemspec.
/opt/homebrew/Cellar/shopify-cli/3.53.0/libexec/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify:9: warning: webrick was loaded from the standard library, but is not part of the default gems since Ruby 3.0.0. Add webrick to your Gemfile or gemspec.
/opt/homebrew/Cellar/shopify-cli/3.53.0/libexec/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify:9: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec.
Replies 4 (4)

TMJ-ShopHelten
Shopify Partner
6 1 4

Just updated to the latest version - Got the exact same issue.

TMJ-ShopHelten
Shopify Partner
6 1 4

Fixed this, by updating my CLI to newest version with Homebrew

Miela
Shopify Partner
1 0 0

The same issue, any ideas?

Ihor-Sh
Shopify Partner
79 11 17

Looks like this is related to latest cli version. But it works well.
If you don't want to see warnings there, you can modify this file /opt/homebrew/Cellar/shopify-cli/3.54.0/libexec/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/Gemfile
and add this:

gem "observer"
gem "webrick"
gem "base64"
below line 7.
but better to wait for cli update.

 

Shopify troubleshootibility 😉
If you're satisfied with reply - don't forget to like it.
If you more than satisfied - mark it as solution 😉
You can find me here.