Skip to content

Commit

Permalink
Merge pull request #25 from takkii/develop
Browse files Browse the repository at this point in the history
Update.
  • Loading branch information
takkii authored Aug 6, 2024
2 parents 35d3c59 + 63c2c39 commit b60404b
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
-- This is no such file directory.
rdbg = vim.fn.system('echo -n $(which rdbg)')
-- echo -n $(which rdbg), write this PATH.
rdbg = '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
-- This is no such file directory.
rdbg = vim.fn.system({"echo","-n","$(which rdbg)"})
-- echo -n $(which rdbg), write this PATH.
rdbg = 'rdbg'
end
else
-- For other OS, change this PATH.
Expand Down

0 comments on commit b60404b

Please sign in to comment.