From bffc780a393af58367c10d7fff0af8b31144b8a5 Mon Sep 17 00:00:00 2001 From: Vitaly Slobodin Date: Thu, 29 May 2025 17:47:42 +0200 Subject: [PATCH] ruby: Update tasks format Split single command strings into command + args to avoid things like https://github.com/zed-industries/zed/issues/31554 --- languages/ruby/tasks.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/languages/ruby/tasks.json b/languages/ruby/tasks.json index 269e75c..dd5716a 100644 --- a/languages/ruby/tasks.json +++ b/languages/ruby/tasks.json @@ -1,14 +1,17 @@ [ { "label": "bundle exec rake", - "command": "bundle exec rake" + "command": "bundle", + "args": ["exec", "rake"] }, { "label": "bundle install", - "command": "bundle install" + "command": "bundle", + "args": ["install"] }, { "label": "Evaluate selected Ruby code", - "command": "ruby -e '$ZED_SELECTED_TEXT'" + "command": "ruby", + "args": ["-e", "$ZED_SELECTED_TEXT"] } ]