From: sto.mar@... Date: 2013-05-25T23:55:03+09:00 Subject: Re: Need help with bugfixing Am 25.05.2013 15:21, schrieb Aneurin Evans: > I'm new and keep getting the errors password. > rb:41: syntax error, unexpected keyword_else, expecting keyword_end > password.rb:47: syntax error, unexpected $end, expecting keyword_end > how can I fix it? The error message means that the interpreter encounters an `else' keyword where there shouldn't be one, and it encounters the end of the file ($end) while one or more `end' keywords are still missing. The correct syntax of the if-else construct is if ... # do something else # do something end Also if ... until ... # do something doesn't make any sense, use if ... # do something end OR until ... # do something end Furthermore: `==' tests for equality, you need to use `=' for assignments --