Bug fix in the rails reloader code

Closes #78