Now using thin as development server and fixed a nullpointer