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

Can't run: syntax error, unexpected ',' #30

Open
xneg opened this issue Jan 22, 2024 · 0 comments
Open

Can't run: syntax error, unexpected ',' #30

xneg opened this issue Jan 22, 2024 · 0 comments

Comments

@xneg
Copy link

xneg commented Jan 22, 2024

I'm trying to run this extension from VS Code.
I set up my configuration:

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "ruby-debug",
      "request": "launch",
      "name": "RSpec (Active File)",
      "program": "rspec",
      "programArgs": [
          "-I",
          "${workspaceFolder}",
          "${file}"
      ],
      "useBundler": false
  }
  ]
}

when I run the debugger I get an error:

~/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/readapt-1.4.4/lib/readapt/message/evaluate.rb:12:in `eval': (eval):1: syntax error, unexpected ',' (SyntaxError)
,eval $stdout.sync=true

I've found this line here but I think this comma was added there intentionally.

I'm super new to Ruby and also not deep into debugging in VS Code. Because nobody else reported this problem I think I do something completely wrong but I have now idea what.
So I appreciate any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant