Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
takkii committed Aug 5, 2024
1 parent fba2271 commit 4029af4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lua/neoruby-debugger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ local function setup_rdbg_adapter(dap)
elseif vim.fn.isdirectory('/usr/local/bin') == 1 then
rdbg = '/usr/local/bin/rdbg'
else
-- Here for other PATH.
rdbg = vim.g["system('echo -n $(which rdbg)')"]
-- This is no such file directory.
rdbg = vim.fn.system('echo -n $(which rdbg)')
end
elseif vim.fn.has('linux') == 1 then
-- Linux Kernel
Expand All @@ -149,8 +149,8 @@ local function setup_rdbg_adapter(dap)
elseif vim.fn.isdirectory('/usr/local/bin') == 1 then
rdbg = '/usr/local/bin/rdbg'
else
-- Here for other PATH.
rdbg = vim.g["system('echo -n $(which rdbg)')"]
-- This is no such file directory.
rdbg = vim.fn.system({"echo","-n","$(which rdbg)"})
end
else
-- For other OS, change this PATH.
Expand Down

0 comments on commit 4029af4

Please sign in to comment.