Keep geting same error!

I have been flying through the material in the JumpStart curriculum.

Over the past few sections I have been getting the same error continually:

/tmp/file.rb:7: syntax error, unexpected keyword_end
/tmp/file.rb:13: syntax error, unexpected end-of-input, expecting keyword_end

Not only is my syntax fine, it is exactly the same as the solution they show in the Walkthrough. I’m wondering if there is a way to fix this.

Hi youngt08,

If you have multiple methods in your file, you may have a missing end or extra end in one of your methods that is causing the rest of your file to crash. Check out line 7 in your file as the stack trace says you have an unexpected end statement. While on line 13, it says there should be an end statement, but is missing. You can also post a copy of your file for me and others to look over.

Michael