Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update minimum ruby version requirement #3816

Closed
2 tasks done
codlp opened this issue Apr 30, 2024 · 0 comments · Fixed by #3934 · May be fixed by #3818
Closed
2 tasks done

Update minimum ruby version requirement #3816

codlp opened this issue Apr 30, 2024 · 0 comments · Fixed by #3934 · May be fixed by #3818
Labels
Area: @shopify/theme @shopify/theme package issues Type: Bug Something isn't working

Comments

@codlp
Copy link

codlp commented Apr 30, 2024

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Theme

Expected behavior

With ruby version 2.7.2 installed, running the command shopify theme pull --store {store-name} should pull my store's files. Indeed, the Shopify CLI's docs indicates that, to work with themes, we need to have ruby version 2.7.2 or higher.

Actual behavior

With ruby version 2.7.2 installed, running the command shopify theme pull --store {store-name} returns the following error: "Ruby version 2.7.2 is not supported. Make sure you have at least Ruby 2.7.5 installed on your system."

Verbose output

Analytics event sent: {
  "command": "theme pull",
  "time_start": 1714478496054,
  "time_end": 1714478496078,
  "total_time": 24,
  "success": false,
  "cli_version": "3.59.2",
  "ruby_version": "2.7.2",
  "node_version": "20.11.1",
  "is_employee": false,
  "uname": "darwin arm64",
  "env_ci": false,
  "env_plugin_installed_any_custom": false,
  "env_plugin_installed_shopify": "[\"@shopify/cli\"]",
  "env_shell": "zsh",
  "env_device_id": "e4e0190f7867848be507a145cb095581c404c253",
  "env_cloud": "localhost",
  "env_package_manager": "npm",
  "env_is_global": false,
  "cmd_all_timing_network_ms": 0,
  "cmd_all_timing_prompts_ms": 0,
  "cmd_all_launcher": "npm",
  "cmd_all_topic": "theme",
  "cmd_all_plugin": "@shopify/cli",
  "cmd_all_force": false,
  "cmd_all_timing_active_ms": 24,
  "cmd_all_exit": "expected_error",
  "args": "--store 2024-playground.myshopify.com -- --verbose",
  "error_message": "Unexpected argument: --verbose\nSee more help with --help",
  "env_plugin_installed_all": "[\"@shopify/cli\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}

Reproduction steps

  1. Install ruby 2.7.2
  2. In the terminal, run the command shopify theme pull --store {store-name} or npx shopify theme pull --store {store-name} (if you did not have the permission to install the Shopify CLI globally on your Shopify laptop.
  3. In the terminal, see the returned error.

Operating System

Mac OS

Shopify CLI version (check your project's package.json if you're not sure)

3.59.2

Shell

zsh

Node version (run node -v if you're not sure)

20.11.1

What language and version are you using in your application?

Ruby 2.7.2

@codlp codlp added the Type: Bug Something isn't working label Apr 30, 2024
@mgmanzella mgmanzella added the Area: @shopify/theme @shopify/theme package issues label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: @shopify/theme @shopify/theme package issues Type: Bug Something isn't working
Projects
None yet
2 participants