Go to http://tryruby.org/ and open the network inspector.<p>Run `a = []` - and you should get 200 OK.<p>Run `a << a` - and you get a 500 internal server error.<p>Normally the sandbox will handle a problem by some kind of exception or text warning (e.g. on timeout), but it can't even handle the request.. so have I broken it?<p>Inspired by this video from a guy who works on the sandbox: http://www.youtube.com/watch?v=6XxCOYco3Eg
Its an infinite loop. However it seems that the sandbox have some way to detect an infinite loop with while loops, etc. However this is probably an edge case they have missed.<p>Good catch!