Sophrinix / TryRuby

Try Ruby is a interactive shell that quickly and whimsically teaches the Ruby programming language. Originally _why's idea, it has been recreated from the ground up by Rubyists who have a passion for Ruby and for teaching their fellow (wo)man how to program.
tryruby.org
347 stars 79 forks source link

Erroneous Syntax Errors - The Interactive Tutorial Is Basically Unusable #109

Closed bambams closed 13 years ago

bambams commented 13 years ago

Disclaimer: Firefox 3.6.13 in Linux (Fedora 13) w/ Vimperator extension, but Pass Through enabled (Ctrl+Z).

The interactive tutorial console seems to get my inputs correctly, but it fails to process them. I can start it fine with 'help', and 'time' responds appropriately. When I attempt to actually do the tutorial though, it's sporadic whether or not a line works. It seems to be working now, but a short time ago this is what I got:

help
2 + 6
SyntaxError:

:130: syntax error, unexpected keyword_else, expecting $end

Maybe you guys are maintaining this live? :P

It would be really nice if I could just run through the tutorial directly from a ruby interpreter. As I said, I'm running Linux and it's easy to get ruby installed (it is), so it would be a lot more convenient to just do the tutorial directly on my machine. Is there an option to do that? If not, consider this a feature request. :P Patch an interpreter to run through the tutorial or even just a plain script. Even a man page with instructions would suffice. :P