Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Retry was changed in Ruby 1.9 to only work on a rescue clause?

Hey,

i'm struggeling with the Control Flow part of the Ruby Foundation because the retry does not work on my computer (Windows, Ruby 1.9.3p429).

Here the link: http://teamtreehouse.com/library/programming/ruby-foundations/loops/control-flow (min 4:25)

Is it correct that i was changed in Ruby 1.9 or what is wrong?

This is the error i get: loops.rb:6: Invalid retry loops.rb: compile error (SyntaxError)

cheers, Dominic

2 Answers

Never mind! I found the same issue in the Forum. Waiting for an update.

was the answer found to this