Spacing is off here.  Make sure to modify sublime text to only use 2 space characters when editing a ruby file.