Be mindful of spaces in this file.  The convention for ruby is 2 spaces for indentation.  I can help you setup sublime to make that the default.