I got this error:
syntax error, unexpected kEND, expecting $end
What's the difference between kEND and $end ?
Definition of end up : to reach or come to a place, condition, or situation that was not planned or expected The book ended up in the trash. He didn't want to end up like his father. She ended up a rich woman. He ended up (living) in a nursing home.
Normally “end” is a noun and “over” is an adjective. Thus you would say “my job has come to an end” or “my job is over”.
In english this is stating:
syntax error, unexpected end of file, expecting an end keyword
I agree it's a fairly non-intuitive message.
So the difference is:
kEND = end of file
$end = end keyword
kEND is the end of your file $end is the end tag so, something like
if somethingIsTrue
puts "its true!"
end
Usually when this happens, you forgot to close something with an end.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With