Ruben already said it, but this all needs to be indented and any newlines after `.. code-block:: ruby` have to be deleted.