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

unexpected `end', expecting end-of-input #14

Closed
staleo opened this issue Jan 23, 2022 · 2 comments
Closed

unexpected `end', expecting end-of-input #14

staleo opened this issue Jan 23, 2022 · 2 comments

Comments

@staleo
Copy link

staleo commented Jan 23, 2022

rails -v
> Rails 7.0.1
ruby -v
> ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]

I do gem add syntax_tree, than rails s, and then I receive a ton of the following (and similar) in logs:

/home/staleo/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/syntax_tree-1.2.0/lib/syntax_tree.rb:14006: syntax error, unexpected end', expecting end-of-input

Any ideas how to solve this? Thanks!

@kddnewton
Copy link
Member

Yeah, I'm using argument forwarding which was available in 2.7.3. Sorry I haven't tested on old ruby versions yet. Can you try on 2.7.3 and see if it works?

@staleo
Copy link
Author

staleo commented Jan 26, 2022

Hi Kevin, right, switched to 3.0, and it's back to business now.

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

2 participants