I got it working finally (for windows). Here are the steps I followed. It might help someone.
- from ruby downloads (https://rubyinstaller.org/downloads/)) , I installed 3.0 version specifically as doc says: Ruby+Devkit 3.0.6-1 (x64)
- Installed the above ruby with all the options.
- Opened command prompt and ran this command (after all ruby installations): ridk enable
- Closed Visual Studio code and opened back with administrator permission (press windows icon > search vs code > right click > run as administrator)
- Opened respective project and ran: shopify theme dev (got another bundler version error)
- Ran following command: gem install bundler
- Then ran: shopify theme dev
And it worked ![]()