Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Unable to update CLI from version 2 to version 3 with Ruby

Unable to update CLI from version 2 to version 3 with Ruby

Corretje
Shopify Partner
2 0 0

I've been struggling for days now to get this working. I'v installed and deinstalled evrything serveral times but no bananas.

 

These are my current versions:

Ruby: 3.0.6p216

Shopify CLI: 2.36

Bundler (not installed myself but came with another install): 2.59

Node:20.8.1

Windows 10

 

I'm also on a LAN but installed everything locally. At home i installed it the same way and everything works fine.

 

I deinstalled everything and installed again several times but i always get the same version or errors.

 

So i'm Unable to update CLI from version 2 to version 3 with Ruby. The highest version i can download is 2.36 when i : 

 

ruby-shopify.png

 

Anybody please????

 

 

Replies 3 (3)

yash100ni
Shopify Partner
10 0 9

Looks like @Shopify/cli has been moved from Ruby Gem to Node NPM in version 3.X.X  

Corretje
Shopify Partner
2 0 0

So what does this mean? Can i do anything to get it install it correctly?

yash100ni
Shopify Partner
10 0 9

Meaning when you write Shopify in cmd it takes reference from Ruby gem and Shopify hasn't published 3.x.x in Ruby gem. 

You should first uninstall Ruby gem Shopify cli Library and then install it through NPM. According to documentation.