You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require'ripper'a=File.read'heredoc.rb'Ripper.lexa
__END__
NoMethodError: undefined method `dedent_string' for #<Ripper::Lexer:0x327bcebd>
from /Users/nos/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/ripper/lexer.rb:71:in `block in on_heredoc_dedent'
Here's the contents of heredoc.rb:
<<~TEST helloTEST
Here's the entire stacktrace of the error:
NoMethodError: undefined method `dedent_string' for #<Ripper::Lexer:0x226b143b>
block in on_heredoc_dedent at /Users/nos/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/ripper/lexer.rb:71
each at org/jruby/RubyArray.java:1734
on_heredoc_dedent at /Users/nos/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/ripper/lexer.rb:69
parse at org/jruby/ext/ripper/RubyRipper.java:324
parse at /Users/nos/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/ripper/lexer.rb:61
lex at /Users/nos/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/ripper/lexer.rb:55
lex at /Users/nos/.rbenv/versions/jruby-9.1.5.0/lib/ruby/stdlib/ripper/lexer.rb:44
<main> at -e:1
The text was updated successfully, but these errors were encountered:
Environment
Expected Behavior
Actual Behavior
Here's the contents of
heredoc.rb
:Here's the entire stacktrace of the error:
The text was updated successfully, but these errors were encountered: